mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
py3: handle keyword arguments correctly in archival.py
Differential Revision: https://phab.mercurial-scm.org/D1625
This commit is contained in:
parent
625bb105d9
commit
2e95019c37
@ -126,7 +126,7 @@ class tarit(object):
|
||||
def __init__(self, *args, **kw):
|
||||
timestamp = None
|
||||
if 'timestamp' in kw:
|
||||
timestamp = kw.pop('timestamp')
|
||||
timestamp = kw.pop(r'timestamp')
|
||||
if timestamp is None:
|
||||
self.timestamp = time.time()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user