소스 검색

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