diff options
Diffstat (limited to 'rdiff-backup/src/Main.py')
-rw-r--r-- | rdiff-backup/src/Main.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/src/Main.py b/rdiff-backup/src/Main.py index a7c9ecf..76c652a 100644 --- a/rdiff-backup/src/Main.py +++ b/rdiff-backup/src/Main.py @@ -509,7 +509,8 @@ def RemoveOlderThan(rootrp): "\nIf you want to delete multiple increments in this way, " "use the --force." % (len(times_in_secs), inc_pretty_time)) - Log("Deleting increment%sat times:\n%s" % - (len(times_in_secs) == 1 and " " or "s ", inc_pretty_time), 3) + if len(times_in_secs) == 1: + Log("Deleting increment at time:\n" + inc_pretty_time, 3) + else: Log("Deleting increments at times:\n" + inc_pretty_time, 3) Manage.delete_earlier_than(datadir, time) |