diff options
author | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-15 20:03:46 +0000 |
---|---|---|
committer | ben <ben@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2002-06-15 20:03:46 +0000 |
commit | 127e5a48e7b64b5aa7c01b4ccfcc6852f31c2b20 (patch) | |
tree | 94a60eb3e0b5fdbe490b2d67e81a35b2fa04c0ed /rdiff-backup/src/highlevel.py | |
parent | d2943df4a4eb71162dfd3939e0c668a83d85ee4e (diff) | |
download | rdiff-backup-127e5a48e7b64b5aa7c01b4ccfcc6852f31c2b20.tar.gz |
Various CPU optimizations
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@126 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/src/highlevel.py')
-rw-r--r-- | rdiff-backup/src/highlevel.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rdiff-backup/src/highlevel.py b/rdiff-backup/src/highlevel.py index c0b6b61..8c95a1f 100644 --- a/rdiff-backup/src/highlevel.py +++ b/rdiff-backup/src/highlevel.py @@ -105,7 +105,7 @@ class HLSourceStruct: if dest_sig.isplaceholder(): yield dest_sig else: diff = Robust.check_common_error( - error_handler, RORPIter.diffonce, dest_sig, dsrp) + error_handler, RORPIter.diffonce, [dest_sig, dsrp]) if diff: yield diff if dsrp: finalizer(dsrp.index, dsrp) finalizer.Finish() @@ -237,10 +237,10 @@ class HLDestinationStruct: Log("Error: %s processing file %s" % (exc, filename), 2) for indexed_tuple in collated: - Log("Processing %s" % str(indexed_tuple), 7) + Log(lambda: "Processing %s" % str(indexed_tuple), 7) diff_rorp, dsrp = indexed_tuple dsrp = Robust.check_common_error(error_handler, patch, - diff_rorp, dsrp) + [diff_rorp, dsrp]) finalizer(dsrp.index, dsrp) finalizer.Finish() @@ -253,7 +253,7 @@ class HLDestinationStruct: try: for indexed_tuple in collated: - Log("Processing %s" % str(indexed_tuple), 7) + Log(lambda: "Processing %s" % str(indexed_tuple), 7) diff_rorp, dsrp = indexed_tuple if not dsrp: dsrp = cls.get_dsrp(dest_rpath, diff_rorp.index) if diff_rorp and diff_rorp.isplaceholder(): diff_rorp = None @@ -279,7 +279,7 @@ class HLDestinationStruct: try: for indexed_tuple in collated: - Log("Processing %s" % str(indexed_tuple), 7) + Log(lambda: "Processing %s" % str(indexed_tuple), 7) diff_rorp, dsrp = indexed_tuple index = indexed_tuple.index if not dsrp: dsrp = cls.get_dsrp(dest_rpath, index) |