File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -499,7 +499,7 @@ def GetKLayoutVersionFrom( verfile='version.h' ):
499
499
except Exception as e :
500
500
return version
501
501
502
- verReg = re .compile ( u '(KLAYOUT_VERSION=\" )([0-9A-Z_a-z\.]+)(\" )' )
502
+ verReg = re .compile ( r '(KLAYOUT_VERSION=\")([0-9A-Z_a-z\.]+)(\")' )
503
503
for line in contents :
504
504
m = verReg .match (line )
505
505
if m :
Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ def CheckPkgDirectory():
279
279
# * LW-qt6MP.pkg.macos-Sonoma-release-Rmp33Pmp312
280
280
#-----------------------------------------------------------------------------------------------
281
281
# 0 1 2 3 4 5 6 7
282
- patQRP = u '(ST|LW|HW|EX)([-])([qt5|qt6][0-9A-Za-z]+)([.]pkg[.])([A-Za-z]+[-][A-Za-z]+[-])(release|debug)([-])([0-9A-Za-z]+)'
282
+ patQRP = r '(ST|LW|HW|EX)([-])([qt5|qt6][0-9A-Za-z]+)([.]pkg[.])([A-Za-z]+[-][A-Za-z]+[-])(release|debug)([-])([0-9A-Za-z]+)'
283
283
regQRP = re .compile (patQRP )
284
284
if not regQRP .match (PkgDir ):
285
285
print ( "! Cannot identify (Qt, Ruby, Python) from the package directory name" )
@@ -721,7 +721,9 @@ def MakeTargetDMGFile(msg=""):
721
721
# The folder will open on mount.
722
722
#--------------------------------------------------------
723
723
print ( ">>> (10) Setting volume bootability and startup disk options..." )
724
- command = "bless --folder %s --openfolder %s" % (MountDir , MountDir )
724
+ #command = "bless --folder %s --openfolder %s" % (MountDir, MountDir)
725
+ #bless: The 'openfolder' option is deprecated
726
+ command = "bless --folder %s" % MountDir
725
727
os .system (command )
726
728
sleep (2 )
727
729
You can’t perform that action at this time.
0 commit comments