[Bug 5269] New: Running hgwebdir_wsgi.py fails; from __future__ imports must occur at the beginning of the file
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Mon Jun 20 14:30:12 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5269
Bug ID: 5269
Summary: Running hgwebdir_wsgi.py fails; from __future__
imports must occur at the beginning of the file
Product: Mercurial
Version: 3.8.3
Hardware: PC
OS: Windows
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: ola at eldoy.no
CC: mercurial-devel at selenic.com
Following the instructions at the top of hgwebdir_wsgi.py, led me to the
following result:
C:\inetpub\hg>python hgwebdir_wsgi.py
File "hgwebdir_wsgi.py", line 90
from __future__ import absolute_import
SyntaxError: from __future__ imports must occur at the beginning of the file
I was able to run this file in a previous version.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list