py3: handle keyword arguments correctly in archival.py

Differential Revision: https://phab.mercurial-scm.org/D1625
This commit is contained in:
Pulkit Goyal 2017-12-10 04:43:41 +05:30
parent 625bb105d9
commit 2e95019c37

View File

@ -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: