1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' rdiff-backup-1.1.5/rdiff_backup/metadata.py mezzanine_patched_rdiff-backup-1.1.5/rdiff_backup/metadata.py |
2 |
|
|
--- rdiff-backup-1.1.5/rdiff_backup/metadata.py 2006-01-01 13:46:05.000000000 +1100 |
3 |
|
|
+++ mezzanine_patched_rdiff-backup-1.1.5/rdiff_backup/metadata.py 2006-10-05 12:35:42.894423015 +1000 |
4 |
|
|
@@ -375,7 +375,7 @@ |
5 |
|
|
self.fileobj = self.rp.open("rb", compress) |
6 |
|
|
else: |
7 |
|
|
assert mode == 'w' |
8 |
|
|
- if compress and not rp_base.isinccompressed(): |
9 |
|
|
+ if compress and rp_base.isincfile() and not rp_base.isinccompressed(): |
10 |
|
|
def callback(rp): self.rp = rp |
11 |
|
|
self.fileobj = rpath.MaybeGzip(rp_base, callback) |
12 |
|
|
else: |