瀏覽代碼

ctypes: fix undefine variable PY3

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@68369 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 9 年之前
父節點
當前提交
8b97bf1d0f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/python/ctypes/ctypesgencore/parser/lex.py

+ 1 - 0
lib/python/ctypes/ctypesgencore/parser/lex.py

@@ -34,6 +34,7 @@ try:
 except ImportError:
     # python2
     bytes = str
+    PY3 = False
 
 
 import operator