Commit b8d150ae authored by owsla's avatar owsla

Must call rpath.isincfile() before rpath.isinccompressed() works


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@816 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 3ef1d0df
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)
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment