mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 09:19:31 +00:00
Merge pull request #736 from ThomasWaldmann/fix-reproducible
fix reproducible build of api docs, fixes #399
This commit is contained in:
commit
b2b5ca718c
1 changed files with 5 additions and 2 deletions
|
@ -131,8 +131,7 @@ class IncompatibleFilesystemEncodingError(Error):
|
|||
|
||||
def __init__(self, repository, key, manifest, name, cache=None, create=False,
|
||||
checkpoint_interval=300, numeric_owner=False, progress=False,
|
||||
chunker_params=CHUNKER_PARAMS,
|
||||
start=datetime.utcnow(), end=datetime.utcnow()):
|
||||
chunker_params=CHUNKER_PARAMS, start=None, end=None):
|
||||
self.cwd = os.getcwd()
|
||||
self.key = key
|
||||
self.repository = repository
|
||||
|
@ -144,7 +143,11 @@ def __init__(self, repository, key, manifest, name, cache=None, create=False,
|
|||
self.name = name
|
||||
self.checkpoint_interval = checkpoint_interval
|
||||
self.numeric_owner = numeric_owner
|
||||
if start is None:
|
||||
start = datetime.utcnow()
|
||||
self.start = start
|
||||
if end is None:
|
||||
end = datetime.utcnow()
|
||||
self.end = end
|
||||
self.pipeline = DownloadPipeline(self.repository, self.key)
|
||||
if create:
|
||||
|
|
Loading…
Reference in a new issue