summaryrefslogtreecommitdiff
path: root/regtest/Timer.py
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2011-09-14 00:58:44 +0200
committerAlbert Astals Cid <aacid@kde.org>2011-09-14 00:58:44 +0200
commit93ba92db0a3af35f197a4faa5a528af98ea0f624 (patch)
tree7e3d8044278ad82abbcf04dd8ce97f914f3f4ba3 /regtest/Timer.py
parentda1b5437148e1e6317246b16f7235c8bc280be97 (diff)
Make it work with Python3
Diffstat (limited to 'regtest/Timer.py')
-rw-r--r--regtest/Timer.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/regtest/Timer.py b/regtest/Timer.py
index 102af965..e86f8c52 100644
--- a/regtest/Timer.py
+++ b/regtest/Timer.py
@@ -61,13 +61,13 @@ if __name__ == '__main__':
t = Timer()
sleep(5)
- print "Elapsed: %s" % (t.elapsed_str())
+ print("Elapsed: %s" % (t.elapsed_str()))
sleep(1)
- print "Elapsed: %s" % (t.elapsed_str())
+ print("Elapsed: %s" % (t.elapsed_str()))
t.start()
sleep(2)
t.stop()
- print "Elapsed: %s" % (t.elapsed_str())
+ print("Elapsed: %s" % (t.elapsed_str()))
sleep(2)
- print "Elapsed: %s" % (t.elapsed_str())
+ print("Elapsed: %s" % (t.elapsed_str()))