From dd3a7fcb256c59a7344c3555bd02d07aaf34c08e Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 31 Dec 2014 02:08:07 +0100 Subject: [PATCH 1/1] save: Display info while closing PackWriter and MetaStoreReader Closing these both data streams can take a few seconds, so inform the user what "bup save" is doing after displaying that it is 100% complete. Signed-off-by: Alexander Barton --- cmd/save-cmd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/save-cmd.py b/cmd/save-cmd.py index 9dcd83b..fdc621e 100755 --- a/cmd/save-cmd.py +++ b/cmd/save-cmd.py @@ -423,6 +423,7 @@ if opt.progress: pct = total and count*100.0/total or 100 progress_end('Saving: %.2f%% (%d/%dk, %d/%d files), done.' % (pct, count/1024, total/1024, fcount, ftotal)) + progress_update('Finishing up ...') while len(parts) > 1: # _pop() all the parts above the root _pop(force_tree = None) -- 2.39.2