equal
deleted
inserted
replaced
48 |
48 |
49 # Adjust python path if this is not a system-wide install |
49 # Adjust python path if this is not a system-wide install |
50 #sys.path.insert(0, r'c:\path\to\python\lib') |
50 #sys.path.insert(0, r'c:\path\to\python\lib') |
51 |
51 |
52 # Enable tracing. Run 'python -m win32traceutil' to debug |
52 # Enable tracing. Run 'python -m win32traceutil' to debug |
53 if hasattr(sys, 'isapidllhandle'): |
53 if getattr(sys, 'isapidllhandle', None) is not None: |
54 import win32traceutil |
54 import win32traceutil |
55 |
55 |
56 # To serve pages in local charset instead of UTF-8, remove the two lines below |
56 # To serve pages in local charset instead of UTF-8, remove the two lines below |
57 import os |
57 import os |
58 os.environ['HGENCODING'] = 'UTF-8' |
58 os.environ['HGENCODING'] = 'UTF-8' |