[GRASS-SVN] r68369 - grass/trunk/lib/python/ctypes/ctypesgencore/parser

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 2 13:09:28 PDT 2016


Author: zarch
Date: 2016-05-02 13:09:28 -0700 (Mon, 02 May 2016)
New Revision: 68369

Modified:
   grass/trunk/lib/python/ctypes/ctypesgencore/parser/lex.py
Log:
ctypes: fix undefine variable PY3

Modified: grass/trunk/lib/python/ctypes/ctypesgencore/parser/lex.py
===================================================================
--- grass/trunk/lib/python/ctypes/ctypesgencore/parser/lex.py	2016-05-02 19:39:52 UTC (rev 68368)
+++ grass/trunk/lib/python/ctypes/ctypesgencore/parser/lex.py	2016-05-02 20:09:28 UTC (rev 68369)
@@ -34,6 +34,7 @@
 except ImportError:
     # python2
     bytes = str
+    PY3 = False
 
 
 import operator



More information about the grass-commit mailing list