mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-26 01:37:20 +00:00
PR #241 - Merge branch 'patch-1' of https://github.com/adept/attic into merge
This commit is contained in:
commit
c4f3068c55
1 changed files with 2 additions and 2 deletions
|
@ -131,10 +131,10 @@ def __init__(self, repository, key, manifest, name, cache=None, create=False,
|
|||
self.name = name
|
||||
self.checkpoint_interval = checkpoint_interval
|
||||
self.numeric_owner = numeric_owner
|
||||
self.items_buffer = CacheChunkBuffer(self.cache, self.key, self.stats)
|
||||
self.pipeline = DownloadPipeline(self.repository, self.key)
|
||||
self.chunker = Chunker(WINDOW_SIZE, CHUNK_MASK, CHUNK_MIN, self.key.chunk_seed)
|
||||
if create:
|
||||
self.items_buffer = CacheChunkBuffer(self.cache, self.key, self.stats)
|
||||
self.chunker = Chunker(WINDOW_SIZE, CHUNK_MASK, CHUNK_MIN, self.key.chunk_seed)
|
||||
if name in manifest.archives:
|
||||
raise self.AlreadyExists(name)
|
||||
self.last_checkpoint = time.time()
|
||||
|
|
Loading…
Reference in a new issue