15370: Fix flaky test.
[arvados.git] / sdk / python / arvados / timer.py
index 739d0d59c02be7f93e3008629f12e4572109a640..97bc38add054cb994a751009745f2a44a905fc8d 100644 (file)
@@ -1,3 +1,9 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+from __future__ import print_function
+from builtins import object
 import time
 
 class Timer(object):
@@ -13,4 +19,4 @@ class Timer(object):
         self.secs = self.end - self.start
         self.msecs = self.secs * 1000  # millisecs
         if self.verbose:
-            print 'elapsed time: %f ms' % self.msecs
+            print('elapsed time: %f ms' % self.msecs)