comparison contrib/win32/hgwebdir_wsgi.py @ 28521:c3ed14344cd9

contrib: use absolute_import in win32/hgwebdir_wsgi.py
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 14 Mar 2016 14:12:13 +0530
parents d3da97e58d42
children aa1d56003872
comparison
equal deleted inserted replaced
28520:84cc72c5771e 28521:c3ed14344cd9
85 # Global settings for IIS path translation 85 # Global settings for IIS path translation
86 path_strip = 0 # Strip this many path elements off (when using url rewrite) 86 path_strip = 0 # Strip this many path elements off (when using url rewrite)
87 path_prefix = 1 # This many path elements are prefixes (depends on the 87 path_prefix = 1 # This many path elements are prefixes (depends on the
88 # virtual path of the IIS application). 88 # virtual path of the IIS application).
89 89
90 from __future__ import absolute_import
90 import sys 91 import sys
91 92
92 # Adjust python path if this is not a system-wide install 93 # Adjust python path if this is not a system-wide install
93 #sys.path.insert(0, r'C:\your\custom\hg\build\lib.win32-2.7') 94 #sys.path.insert(0, r'C:\your\custom\hg\build\lib.win32-2.7')
94 95