From 6abf7621c192b5c870b2da37a3ac1d089311749d Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 21 Nov 2015 02:22:26 +0100 Subject: [PATCH] remove rarely used print_status method --- borg/archiver.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/borg/archiver.py b/borg/archiver.py index 7a2b5db42..fb9d9b242 100644 --- a/borg/archiver.py +++ b/borg/archiver.py @@ -64,9 +64,6 @@ class Archiver: msg = args and msg % args or msg logger.info(msg) - def print_status(self, status, path): - self.print_info("%1s %s", status, remove_surrogates(path)) - def do_serve(self, args): """Start in server mode. This command is usually not used manually. """ @@ -154,7 +151,7 @@ class Archiver: self.print_warning('%s: %s', path, e) else: status = '-' - self.print_status(status, path) + self.print_info("%1s %s", status, remove_surrogates(path)) continue path = os.path.normpath(path) if args.one_file_system: @@ -255,7 +252,7 @@ class Archiver: status = '-' # dry run, item was not backed up # output ALL the stuff - it can be easily filtered using grep. # even stuff considered unchanged might be interesting. - self.print_status(status, path) + self.print_info("%1s %s", status, remove_surrogates(path)) def do_extract(self, args): """Extract archive contents"""