tags 476161 + patch
thanks

Here's a proposed patch, which seems to fix the build in an environment where
Python 2.5 is the default.

    Simon
diff -u xmldiff-0.6.8/debian/changelog xmldiff-0.6.8/debian/changelog
--- xmldiff-0.6.8/debian/changelog
+++ xmldiff-0.6.8/debian/changelog
@@ -1,3 +1,11 @@
+xmldiff (0.6.8-3.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Move "from __future__" imports so they are the first executable statement
+    (Closes: #476161)
+
+ -- Simon McVittie <[EMAIL PROTECTED]>  Mon, 14 Apr 2008 23:40:58 +0100
+
 xmldiff (0.6.8-3) unstable; urgency=low
 
   * Fixed package description (closes: #383788, #420781)
only in patch2:
unchanged:
--- xmldiff-0.6.8.orig/setup.py
+++ xmldiff-0.6.8/setup.py
@@ -16,11 +16,13 @@
 # You should have received a copy of the GNU General Public License along with
 # this program; if not, write to the Free Software Foundation, Inc.,
 # 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+
+from __future__ import nested_scopes
+
 """ Generic Setup script, takes package info from __pkginfo__.py file """
 
 __revision__ = '$Id: setup.py,v 1.20 2005-01-12 14:21:47 syt Exp $'
 
-from __future__ import nested_scopes
 import os
 import sys
 import shutil
only in patch2:
unchanged:
--- xmldiff-0.6.8.orig/test/regrtest.py
+++ xmldiff-0.6.8/test/regrtest.py
@@ -1,9 +1,10 @@
 """
 xmldiff non regression test
 """
+from __future__ import nested_scopes
+
 __revision__ = "$Id: regrtest.py,v 1.19 2005-04-27 12:36:01 syt Exp $"
 
-from __future__ import nested_scopes
 from os.path import join, basename
 from cStringIO import StringIO
 import sys

Attachment: signature.asc
Description: Digital signature

Reply via email to