Skip to content

Commit 5562d04

Browse files
committed
fix v2 print statements
1 parent bc70162 commit 5562d04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/recceiver/scripts/test_mock_iocs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def startIOC():
1212
pid, fd = os.forkpty()
1313
if pid == 0:
1414
os.chdir("../../../client/iocBoot/iocdemo")
15-
print os.curdir
15+
print(os.curdir)
1616
os.execv("st_test.cmd", [''])
1717
return pid, fd
1818

@@ -38,7 +38,7 @@ def main():
3838
for i in range(1, 100):
3939
iocpid, iocfd = startIOC()
4040
pids.append(iocpid)
41-
print "len pids: ", len(pids)
41+
print("len pids: ", len(pids))
4242
iocthread = threading.Thread(group=None, target=readfd, args=(iocfd,), name="iocthread", kwargs={})
4343
threads.append(iocthread)
4444
iocthread.start()

0 commit comments

Comments
 (0)