summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-10-03 17:27:11 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-10-03 17:27:11 +0000
commit84503bf5b95f0dba818c7e0bd6e2339179cd3b6a (patch)
tree9759a1f5ac0b3522a469ee3b132ac698f95c2ebd
parent28a73415dd0a5a47d15d7da3576a7dd8ac787830 (diff)
efbb: make script compatible with python2.6
SVN revision: 77379
-rwxr-xr-xtools/levels_create.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/levels_create.py b/tools/levels_create.py
index c255ae0..3d453e1 100755
--- a/tools/levels_create.py
+++ b/tools/levels_create.py
@@ -70,11 +70,10 @@ def eet_desc_write(levels):
70 70
71 71
72def eet_create(eet_desc_filename, eet_filename): 72def eet_create(eet_desc_filename, eet_filename):
73 subprocess.check_output( 73 subprocess.Popen(
74 "eet -e %s world %s 0; exit 0" % 74 "eet -e %s world %s 0; exit 0" %
75 (eet_filename, eet_desc_filename), 75 (eet_filename, eet_desc_filename),
76 stderr = subprocess.STDOUT, 76 stdout=subprocess.PIPE, shell = True).communicate()[0]
77 shell = True)
78 77
79 78
80def eval_value(value, consts): 79def eval_value(value, consts):