diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-08-01 15:02:05 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-08-01 15:33:28 +0300 |
commit | 79007e1c701068f807da02f9e906a5a3750d0bde (patch) | |
tree | b41153e8c592a69121bf36de40067050141f07c2 | |
parent | 7dae91d21285265554f937db9b0b677624889bde (diff) | |
download | obnam-79007e1c701068f807da02f9e906a5a3750d0bde.tar.gz |
Add empty lines to make code clearer
-rw-r--r-- | obnamlib/plugins/backup_plugin.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/obnamlib/plugins/backup_plugin.py b/obnamlib/plugins/backup_plugin.py index 92b66c03..57314c94 100644 --- a/obnamlib/plugins/backup_plugin.py +++ b/obnamlib/plugins/backup_plugin.py @@ -647,13 +647,17 @@ class BackupPlugin(obnamlib.ObnamPlugin): self.progress.what('making checkpoint') if not self.pretend: self.checkpoint_manager.add_checkpoint(self.new_generation) + self.progress.what('making checkpoint: backing up parents') self.backup_parents('.') + self.progress.what('making checkpoint: locking shared B-trees') self.repo.lock_chunk_indexes() + self.progress.what( 'making checkpoint: adding chunks to shared B-trees') self.add_chunks_to_shared() + self.progress.what( 'making checkpoint: committing per-client B-tree') self.repo.set_generation_key( @@ -662,18 +666,22 @@ class BackupPlugin(obnamlib.ObnamPlugin): self.repo.flush_chunks() self.repo.commit_client(self.client_name) self.repo.unlock_client(self.client_name) + self.progress.what('making checkpoint: committing shared B-trees') self.repo.commit_chunk_indexes() self.repo.unlock_chunk_indexes() self.last_checkpoint = self.repo.get_fs().bytes_written + self.progress.what('making checkpoint: re-opening repository') self.repo = self.app.get_repository_object( repofs=self.repo.get_fs()) + self.progress.what('making checkpoint: starting a new generation') self.repo.lock_client(self.client_name) self.new_generation = self.repo.create_generation( self.client_name) self.app.dump_memory_profile('at end of checkpoint') + self.progress.what('making checkpoint: continuing backup') def find_files(self, root): |