efbb: make script compatible with python2.6

SVN revision: 77379
This commit is contained in:
Bruno Dilly 2012-10-03 17:27:11 +00:00
parent 28a73415dd
commit 84503bf5b9
1 changed files with 2 additions and 3 deletions

View File

@ -70,11 +70,10 @@ def eet_desc_write(levels):
def eet_create(eet_desc_filename, eet_filename):
subprocess.check_output(
subprocess.Popen(
"eet -e %s world %s 0; exit 0" %
(eet_filename, eet_desc_filename),
stderr = subprocess.STDOUT,
shell = True)
stdout=subprocess.PIPE, shell = True).communicate()[0]
def eval_value(value, consts):