diff bin/collector_loadtest.py @ 1859:f066d6e874db

2to3 with these fixers: all idioms set_literal Ignore-this: cbd28518218c2f0ddce8c4f92d3b8b33
author drewp@bigasterisk.com
date Wed, 22 May 2019 00:08:22 +0000
parents 7772cc48e016
children 3c523c71da29
line wrap: on
line diff
--- a/bin/collector_loadtest.py	Tue May 21 23:56:12 2019 +0000
+++ b/bin/collector_loadtest.py	Wed May 22 00:08:22 2019 +0000
@@ -10,7 +10,7 @@
 
 
 def loadTest():
-    print "scheduling loadtest"
+    print("scheduling loadtest")
     n = 2500
     times = [None] * n
     session = "loadtest%s" % time.time()
@@ -41,7 +41,7 @@
         offset += .002
 
     def done():
-        print "loadtest done"
+        print("loadtest done")
         with open('/tmp/times', 'w') as f:
             f.write(''.join('%s\n' % t for t in times))
         reactor.stop()