summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/backup.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-03-03 01:37:10 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-03-03 01:37:10 +0000
commitef79a33ae64761de55f8d12f50356226d36ebe18 (patch)
treeaf8eed35acc1a5eabc2a5d4cef1acfd10edc9b93 /rdiff-backup/rdiff_backup/backup.py
parentb4ec968e28383be03d2743f4b3c0343ebca23a3c (diff)
downloadrdiff-backup-ef79a33ae64761de55f8d12f50356226d36ebe18.tar.gz
Fixed --print-statistics and spurious server error message
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@290 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/backup.py')
-rw-r--r--rdiff-backup/rdiff_backup/backup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/backup.py b/rdiff-backup/rdiff_backup/backup.py
index 9e24e56..0ee782c 100644
--- a/rdiff-backup/rdiff_backup/backup.py
+++ b/rdiff-backup/rdiff_backup/backup.py
@@ -154,7 +154,7 @@ class DestinationStruct:
Hardlink.islinked(src_rorp or dest_rorp)):
dest_sig = rpath.RORPath(index)
dest_sig.flaglinked(Hardlink.get_link_index(dest_sig))
- elif dest_rorp:
+ elif dest_rorp:
dest_sig = dest_rorp.getRORPath()
if dest_rorp.isreg():
dest_rp = dest_base_rpath.new_index(index)
@@ -311,6 +311,7 @@ class CacheCollatedPostProcess:
"""Process the remaining elements in the cache"""
while self.cache_indicies: self.shorten_cache()
metadata.CloseMetadata()
+ if Globals.print_statistics: statistics.print_active_stats()
statistics.write_active_statfileobj()