From: Christoph Egger Date: Mon, 5 Jan 2015 17:56:13 +0000 (+0100) Subject: [backup-zfs] Add missing colon X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=108ff5a722fd1dcdc08f9a48c092239708ab1da7;p=tools.git [backup-zfs] Add missing colon --- diff --git a/backup-zfs b/backup-zfs index 9d52e06..b530bc9 100755 --- a/backup-zfs +++ b/backup-zfs @@ -130,7 +130,7 @@ def sftp_send(dataset, reference=None): sys.stdout.write('\r') timedelta = time.time() - startt - print_colored(" %.3f GB DONE (%.3f MB/s) Total: %02d%02d:%02d" % ((1.0 * done) / (1024 ** 3), (done / (1024 ** 2 *timedelta)), timedelta/3600, (timedelta/60)%60, timedelta%60), 'green') + print_colored(" %.3f GB DONE (%.3f MB/s) Total: %02d:%02d:%02d" % ((1.0 * done) / (1024 ** 3), (done / (1024 ** 2 *timedelta)), timedelta/3600, (timedelta/60)%60, timedelta%60), 'green') digestfile.write("%s %s\n" % (digest.hexdigest(), filename)) def syncronize(local_datasets, remote_datasets):