diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-05 18:43:40 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-05 18:43:40 +0000 |
commit | 93eb916b7315f5f52e8fa5e169916d4c75707a5e (patch) | |
tree | 4be156ff30d52291d766222a8dd26747765e96a3 | |
parent | 62700a9ecd55dafb4c81822d3817087cf486667b (diff) | |
download | obnam-93eb916b7315f5f52e8fa5e169916d4c75707a5e.tar.gz |
Fix bug in progress message after checkpoint during a file
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | obnamlib/plugins/backup_plugin.py | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -54,6 +54,11 @@ Bug fixes: during encryption operations. From version 2.0.22 (or thereabouts), `gpg` insists on having a `trustdb.gpg` in the GNUPGHOME it uses. +* When backing up a large file, and making a checkpoint generation in + the middle of it, Obnam would say "continuing backup" after the + checkpoint was finished, instead of saying the name of the file. + This is now fixed. + Internal changes: * The `obnamlib.Error` exception class has been replaced by the diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py index 4b966753..75bd8d8d 100644 --- a/obnamlib/plugins/backup_plugin.py +++ b/obnamlib/plugins/backup_plugin.py @@ -845,6 +845,7 @@ class BackupPlugin(obnamlib.ObnamPlugin): if not self.pretend and self.time_for_checkpoint(): logging.debug('making checkpoint in the middle of a file') self.make_checkpoint() + self.progress.what(filename) tracing.trace('closing file') f.close() |