Changeset 9f2853379c31…
Parent 0673974beb54…
by
Changes to one file · Browse files at 9f2853379c31 Showing diff from parent 0673974beb54 Diff from another changeset...
@@ -11,7 +11,11 @@ import os
import sys
-if not hasattr(sys, "frozen"):
+if hasattr(sys, "frozen"):
+ if 'THGDEBUG' in os.environ:
+ import win32traceutil
+ print 'starting'
+else:
thgpath = os.path.dirname(os.path.realpath(__file__))
testpath = os.path.join(thgpath, 'tortoisehg')
if os.path.isdir(testpath) and thgpath not in sys.path:
|
Loading...