summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2012-06-22 08:37:32 +0200
committerFlorian Bruhin <me@the-compiler.org>2012-06-22 08:37:32 +0200
commit3148cff680c3f09978881a2b19f079ce2b555712 (patch)
tree3156aa9fc264b32d9ca9b46c2d752e85ca5e3fc8
parentaebeb103e2edf0f481a591b6d9359369a865774f (diff)
downloadxdd2esi-3148cff680c3f09978881a2b19f079ce2b555712.tar.gz
xdd2esi-3148cff680c3f09978881a2b19f079ce2b555712.zip
Revert "remove global statement"
We need it or it won't work This reverts commit 51375b9400b9eb06a9684e432da3a479384a1796.
-rw-r--r--xdd2esilib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/xdd2esilib.py b/xdd2esilib.py
index 647a05a..78e9246 100644
--- a/xdd2esilib.py
+++ b/xdd2esilib.py
@@ -307,6 +307,7 @@ def output(outfile, pretty=True):
def run(infile, outfile, dump=False, pretty=True, shifts=None, addbasic=True,
template=None, schema=None, versioninfo=None):
""" Do the conversion using the libs """
+ global esi
esi = esilib.ESIFile(versioninfo)
logging.info("Parsing XDD")
xdd = xddlib.XDDFile()