/[rdiff-backup]/rdiff-backup/rdiff_backup/statistics.py
ViewVC logotype

Diff of /rdiff-backup/rdiff_backup/statistics.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by bescoto, Sat Mar 15 19:30:08 2003 UTC revision 1.22 by dgaudet, Fri Apr 22 16:12:57 2005 UTC
# Line 20  Line 20 
20  """Generate and process aggregated backup information"""  """Generate and process aggregated backup information"""
21    
22  import re, os, time  import re, os, time
23  import Globals, Time, increment, log, static  import Globals, Time, increment, log, static, metadata
24    
25  class StatsException(Exception): pass  class StatsException(Exception): pass
26    
# Line 381  class FileStats: Line 381  class FileStats:
381                  """Update file stats with given information"""                  """Update file stats with given information"""
382                  if source_rorp: filename = source_rorp.get_indexpath()                  if source_rorp: filename = source_rorp.get_indexpath()
383                  else: filename = dest_rorp.get_indexpath()                  else: filename = dest_rorp.get_indexpath()
384                    filename = metadata.quote_path(filename)
385    
386                  size_list = map(cls.get_size, [source_rorp, dest_rorp, inc])                  size_list = map(cls.get_size, [source_rorp, dest_rorp, inc])
387                  line = " ".join([filename, str(changed)] + size_list)                  line = " ".join([filename, str(changed)] + size_list)

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26