diff options
author | dgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-04-22 16:12:57 +0000 |
---|---|---|
committer | dgaudet <dgaudet@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2005-04-22 16:12:57 +0000 |
commit | 24d7fd59dac08488ac94f80cfa586f90b619698b (patch) | |
tree | 0474f85a5ecf8dc05c93eb5e52cd9f8782d37a79 /rdiff-backup/rdiff_backup | |
parent | 170251a1b652818544fd5ba84585698841310a32 (diff) | |
download | rdiff-backup-24d7fd59dac08488ac94f80cfa586f90b619698b.tar.gz |
Filenames in the file_statistics*gz files are now quoted the same way
as filenames in the metadata file (LF => \n and \ => \\).
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@584 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup')
-rw-r--r-- | rdiff-backup/rdiff_backup/statistics.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rdiff-backup/rdiff_backup/statistics.py b/rdiff-backup/rdiff_backup/statistics.py index c381473..b16fb12 100644 --- a/rdiff-backup/rdiff_backup/statistics.py +++ b/rdiff-backup/rdiff_backup/statistics.py @@ -20,7 +20,7 @@ """Generate and process aggregated backup information""" import re, os, time -import Globals, Time, increment, log, static +import Globals, Time, increment, log, static, metadata class StatsException(Exception): pass @@ -381,6 +381,7 @@ class FileStats: """Update file stats with given information""" if source_rorp: filename = source_rorp.get_indexpath() else: filename = dest_rorp.get_indexpath() + filename = metadata.quote_path(filename) size_list = map(cls.get_size, [source_rorp, dest_rorp, inc]) line = " ".join([filename, str(changed)] + size_list) |