diff options
author | Marian Beermann <public@enkore.de> | 2016-08-27 14:01:28 +0200 |
---|---|---|
committer | Marian Beermann <public@enkore.de> | 2016-08-27 14:01:28 +0200 |
commit | e289fb353923e91d6cb90daf4cb262915aeecb65 (patch) | |
tree | c6b5c71fea23a22c56ff3664618088630bb5199e /src | |
parent | 47404dfde5c7d475a7739e279bcfaa2d98ae1643 (diff) |
recreate: fix crash if archive doesn't have chunker_params
Diffstat (limited to 'src')
-rw-r--r-- | src/borg/archive.py | 2 |
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): |