|
@@ -146,10 +146,7 @@ def run_file(files, parameters, expected, mode):
|
|
|
for e in expected:
|
|
|
c = len(e) if isinstance(e, set) else 1
|
|
|
for _ in range(c):
|
|
|
- if got_output:
|
|
|
- val = got_output.pop(0)
|
|
|
- else:
|
|
|
- val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=240).read()
|
|
|
+ val = urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "username": username})), timeout=240).read()
|
|
|
|
|
|
if proc.returncode is not None:
|
|
|
# Modelverse has already terminated, which isn't a good sign!
|