Package: rest2web
Version: 0.5.0.svn-r224-1
Severity: normal
Tags: patch
Hi,
compiling the rest2web directory for python 2.5 gave me some errors:
Compiling /var/lib/python-support/python2.5/rest2web/pythonutils/odict.py ...
File "/var/lib/python-support/python2.5/rest2web/pythonutils/odict.py", line
30
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
Compiling /var/lib/python-support/python2.5/rest2web/pythonutils/pathutils.py
...
File "/var/lib/python-support/python2.5/rest2web/pythonutils/pathutils.py",
line 23
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file
Moving the __future__ imports to the beginning of the files fixed the
errors for me, hence the patch tag.
Regards,
Bastian
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-treasure7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages rest2web depends on:
ii python 2.4.4-1 An interactive high-level object-o
ii python-docutils 0.4-3 Utilities for the documentation of
ii python-support 0.5.5 automated rebuilding support for p
rest2web recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]