Mercurial > hg-stable
changeset 29385:aa1d56003872
py3: shift from __future__ import absolute import to beginning (issue5269)
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 20 Jun 2016 23:31:45 +0530 |
parents | c75c8ea2f573 |
children | 63fad6235369 |
files | contrib/win32/hgwebdir_wsgi.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/win32/hgwebdir_wsgi.py Mon Jun 20 23:24:55 2016 +0200 +++ b/contrib/win32/hgwebdir_wsgi.py Mon Jun 20 23:31:45 2016 +0530 @@ -79,6 +79,8 @@ # - Restart the web server and see if things are running. # +from __future__ import absolute_import + # Configuration file location hgweb_config = r'c:\your\directory\wsgi.config' @@ -87,7 +89,6 @@ 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