Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/contrib/win32/hgwebdir_wsgi.py Sun Dec 27 13:38:46 2015 +0900 +++ b/contrib/win32/hgwebdir_wsgi.py Mon Mar 14 14:12:13 2016 +0530 @@ -87,6 +87,7 @@ path_prefix = 1 # This many path elements are prefixes (depends on the # virtual path of the IIS application). +from __future__ import absolute_import import sys # Adjust python path if this is not a system-wide install