git://developer.intra2net.com
/
python-delta-tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5faea0e
)
reuse existing crypto context for subsequent volumes
author
Philipp Gesang
<philipp.gesang@intra2net.com>
Fri, 5 May 2017 09:00:37 +0000 (11:00 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
deltatar/tarfile.py
patch
|
blob
|
blame
|
history
diff --git
a/deltatar/tarfile.py
b/deltatar/tarfile.py
index
bdb40b1
..
b63b593
100644
(file)
--- a/
deltatar/tarfile.py
+++ b/
deltatar/tarfile.py
@@
-2654,7
+2654,7
@@
class TarFile(object):
comptype=self.fileobj.comptype,
fileobj=None,
bufsize=self.fileobj.bufsize,
- encryption=encryption,
+ encryption=encryption or self.fileobj.encryption,
concat=self.fileobj.arcmode & ARCMODE_CONCAT)
else:
# here, we lose information about compression/encryption!