[gdal-dev] db2 python test issues
Kurt Schwehr
schwehr at gmail.com
Sat Dec 26 15:19:41 PST 2015
Hi David,
I just did a quick touchup on ogr_db2.py with r32484
<https://trac.osgeo.org/gdal/changeset/32484>
With a python3 copy of pyflakes, you will get errors about prints without
parens. e.g.
pyflakes ogr_db2.py
ogr_db2.py:334:47: invalid syntax
print "These tests only run on Windows"
^
I was seeing this in at least one build log
<https://travis-ci.org/rouault/gdal_coverage/builds/98914828#L6208>:
... failed to load ogr_db2.py ... skipping.
Traceback (most recent call last):
File "pymod/gdaltest.py", line 246, in run_all
exec("import " + module)
File "<string>", line 1, in <module>
File "./ogr_db2.py", line 300
print cnt
^
SyntaxError: invalid syntax
-kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20151226/c8d83684/attachment.html>
More information about the gdal-dev
mailing list