summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-07-10 22:39:59 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-07-10 22:39:59 +0000
commitd87cc15862c581d036bda21f6107df43fe29b8f0 (patch)
tree57d9379526893c23aa9e6403ef00f44cfda204f4
parent2492280ff6d81bb7862ce9b3d51e02be9603ab7d (diff)
downloadrdiff-backup-d87cc15862c581d036bda21f6107df43fe29b8f0.tar.gz
Must call rpath.isincfile() before rpath.isinccompressed() works
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@816 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/metadata.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 29720a8..3a55913 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
New in v1.1.12 (????/??/??)
---------------------------
+Finally solve AttributeError due to no 'inc_compressed' attribute
+that occured during some regress operations. (Andrew Ferguson)
+
Squash bug where --check-destination-dir or regress operation failed
after crash when --force option was not used. RPath's are now
properly pickled. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/metadata.py b/rdiff-backup/rdiff_backup/metadata.py
index cdd9257..b830a2e 100644
--- a/rdiff-backup/rdiff_backup/metadata.py
+++ b/rdiff-backup/rdiff_backup/metadata.py
@@ -379,6 +379,7 @@ class FlatFile:
self.fileobj = self.rp.open("rb", compress)
else:
assert mode == 'w'
+ if not check_path: rp_base.isincfile()
if compress and not rp_base.isinccompressed():
def callback(rp): self.rp = rp
self.fileobj = rpath.MaybeGzip(rp_base, callback)