Mercurial > hg
changeset 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 | 84cc72c5771e |
children | f2fe7b199bb4 |
files | contrib/win32/hgwebdir_wsgi.py tests/test-check-py3-compat.t |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
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
--- a/tests/test-check-py3-compat.t Sun Dec 27 13:38:46 2015 +0900 +++ b/tests/test-check-py3-compat.t Mon Mar 14 14:12:13 2016 +0530 @@ -11,7 +11,6 @@ contrib/revsetbenchmarks.py requires print_function contrib/showstack.py not using absolute_import contrib/synthrepo.py not using absolute_import - contrib/win32/hgwebdir_wsgi.py not using absolute_import doc/check-seclevel.py not using absolute_import doc/gendoc.py not using absolute_import doc/hgmanpage.py not using absolute_import