Work around a Python bug involving the file name 'types.py'.
authorEamon Walsh <ewalsh@tycho.nsa.gov>
Wed, 9 Jul 2008 17:41:10 +0000 (13:41 -0400)
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>
Wed, 9 Jul 2008 17:41:10 +0000 (13:41 -0400)
xcbgen/Makefile.am
xcbgen/matcher.py
xcbgen/state.py
xcbgen/xtypes.py [moved from xcbgen/types.py with 100% similarity]

index 44632fa..110a992 100644 (file)
@@ -1,3 +1,3 @@
 pkgpythondir = $(pythondir)/xcbgen
 
-pkgpython_PYTHON = __init__.py error.py expr.py matcher.py state.py types.py
+pkgpython_PYTHON = __init__.py error.py expr.py matcher.py state.py xtypes.py
index b2d9b8b..e7958fa 100644 (file)
@@ -10,7 +10,7 @@ from os.path import join
 from xml.etree.cElementTree import parse
 
 import state
-from types import *
+from xtypes import *
 
 def import_(node, module, namespace):
     '''
index 59b5608..51efc94 100644 (file)
@@ -6,7 +6,7 @@ from xml.etree.cElementTree import parse
 
 import matcher
 from error import *
-from types import *
+from xtypes import *
 
 import __main__
 
similarity index 100%
rename from xcbgen/types.py
rename to xcbgen/xtypes.py