Merge pull request #3 from paulromano/simplified_tests

Fix bug in Executor._run_openmc that caused infinite loop in Python 3
This commit is contained in:
Sterling Harper 2015-07-04 15:36:23 -06:00
commit 5e40ff6288

View file

@ -35,7 +35,7 @@ class Executor(object):
print(line, end='')
# If OpenMC is finished, break loop
if line == '' and p.poll() != None:
if not line and p.poll() != None:
break
# Return the returncode (integer, zero if no problems encountered)