From: Eric Bollengier Date: Thu, 25 Mar 2021 16:17:32 +0000 (+0100) Subject: regress: Fix endtime to support both python2/3 X-Git-Tag: Release-11.0.2~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29dd6e727885f7540b7a842a1c11c12da6ab728b;p=thirdparty%2Fbacula.git regress: Fix endtime to support both python2/3 --- diff --git a/regress/endtime b/regress/endtime index 66fd57bcb..8d610d09a 100755 --- a/regress/endtime +++ b/regress/endtime @@ -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)))