>>>>> On Thu, 25 Mar 2021 09:42:07 +0100, Radosław Korzeniewski said: > > śr., 24 mar 2021 o 17:46 Adolf Belka (gmail) <adolf.be...@gmail.com> > napisał(a): > > > File "/home/ahb/sandbox/bacula/regress/./endtime", line 16 > > print 'Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - > > float(s)) > > ^ > > SyntaxError: invalid syntax > > > > > The "endtime" file is a Python 2 script which does not work with Python 3.
That is easy to fix with parens around the arguments: print('Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s))) __Martin _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users