Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.2 and tip

stable thg: only remove -psn from the command line if it's actually there

Changeset bc12bb65b708

Parent 9c86cf5c9866

by David Golub

Changes to one file · Browse files at bc12bb65b708 Showing diff from parent 9c86cf5c9866 Diff from another changeset...

Change 1 of 1 Show Entire File thg Stacked
 
14
15
16
17
 
 
18
19
20
 
14
15
16
 
17
18
19
20
21
@@ -14,7 +14,8 @@
 argv = sys.argv[1:]  if 'THG_OSX_APP' in os.environ:   # Remove the -psn argument supplied by launchd - argv = argv[1:] + if argv[0].startswith('-psn'): + argv = argv[1:]   # sys.path as created by py2app doesn't work quite right with demandimport   # Add the explicit path where PyQt4 and other libs are   bundlepath = os.path.dirname(os.path.realpath(__file__))