summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorenkore <public@enkore.de>2016-08-27 14:06:32 +0200
committerGitHub <noreply@github.com>2016-08-27 14:06:32 +0200
commite60ed80433149f453faed8f866c1068c2ed3b194 (patch)
tree1bf5a043aa59b10a0981ace0a65f109ca0a7454f /src
parent1d750e802eb0480b4fc1a2f4c68f4a52c569200e (diff)
parente289fb353923e91d6cb90daf4cb262915aeecb65 (diff)
Merge pull request #1539 from enkore/f/recreate-cp
recreate: fix crash if archive doesn't have chunker_params
Diffstat (limited to 'src')
-rw-r--r--src/borg/archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/borg/archive.py b/src/borg/archive.py
index c27faf67c..209effc4e 100644
--- a/src/borg/archive.py
+++ b/src/borg/archive.py
@@ -1572,7 +1572,7 @@ class ArchiveRecreater:
if not target:
target = self.create_target_archive(target_name)
# If the archives use the same chunker params, then don't rechunkify
- target.recreate_rechunkify = tuple(archive.metadata.get('chunker_params')) != self.chunker_params
+ target.recreate_rechunkify = tuple(archive.metadata.get('chunker_params', [])) != self.chunker_params
return target, resume_from
def try_resume(self, archive, target_name):