]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Fix endtime to support both python2/3 Branch-9.6
authorEric Bollengier <eric@baculasystems.com>
Thu, 25 Mar 2021 16:17:32 +0000 (17:17 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 25 Mar 2021 16:18:07 +0000 (17:18 +0100)
regress/endtime

index 66fd57bcb00c69c66c625ef19a717e484d0d0d9e..8d610d09ab8d23566ef4b75e753cd55d39a265cc 100755 (executable)
@@ -13,4 +13,4 @@ diff = t - float(s)
 h = int(diff / 3600)
 m = int((diff - h * 3600) / 60)
 sec = diff - h * 3600 - m * 60
-print 'Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s))
+print('Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s)))