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
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to