[Thuban-commits] r2770 - in trunk/thuban: . Extensions/ogr

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 22 10:54:42 CEST 2007


Author: bh
Date: 2007-05-22 10:54:41 +0200 (Tue, 22 May 2007)
New Revision: 2770

Modified:
   trunk/thuban/ChangeLog
   trunk/thuban/Extensions/ogr/ogrshapes.py
Log:
* Extensions/ogr/ogrshapes.py: Move the __future__ import to the
top of the file.  Otherwise Python will not recognize it and
Python 2.5 will even throw a SyntaxError


Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog	2007-05-10 11:49:41 UTC (rev 2769)
+++ trunk/thuban/ChangeLog	2007-05-22 08:54:41 UTC (rev 2770)
@@ -1,3 +1,9 @@
+2007-05-22  Bernhard Herzog  <bh at intevation.de>
+
+	* Extensions/ogr/ogrshapes.py: Move the __future__ import to the
+	top of the file.  Otherwise Python will not recognize it and
+	Python 2.5 will even throw a SyntaxError
+
 2007-05-10  Didrik Pinte <dpinte at itae.be>
 
 	* packaging/windows/Thuban-1.2.0_1.exe.readme.txt : installation

Modified: trunk/thuban/Extensions/ogr/ogrshapes.py
===================================================================
--- trunk/thuban/Extensions/ogr/ogrshapes.py	2007-05-10 11:49:41 UTC (rev 2769)
+++ trunk/thuban/Extensions/ogr/ogrshapes.py	2007-05-22 08:54:41 UTC (rev 2770)
@@ -1,16 +1,16 @@
-# Copyright (C) 2004 by Intevation GmbH     vim:encoding=latin-1:
+# Copyright (C) 2004, 2007 by Intevation GmbH     vim:encoding=latin-1:
 # Authors:
 # Nina Hüffmeyer <nhueffme at intevation.de>
 #
 # This program is free software under the GPL (>=v2)
 # Read the file COPYING coming with the software for details.
 
+from __future__ import generators
+
 __version__ = "$Revision$"
 # $Source$
 # $Id$
 
-from __future__ import generators
-
 try:
     import ogr
 except ImportError:



More information about the Thuban-commits mailing list