Skip to content

Commit 2282545

Browse files
committed
Fixed Python 2 syntax
1 parent 0aee81d commit 2282545

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ def simulate(self,resultfile=None,simflags=None,overrideaux=None): # 11
13231323
else:
13241324
# os.system(cmd) # Original code
13251325
# p = subprocess.Popen([cmd], stdout=subprocess.PIPE)
1326-
print(str(cmd))
1326+
# print(str(cmd))
13271327
p = subprocess.run(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
13281328
# p = subprocess.run([getExeFile, r], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
13291329
out = p.stdout # .read()

0 commit comments

Comments
 (0)