Mercurial > public > mercurial-scm > hg-stable
diff mercurial/archival.py @ 35358:a274c4b698f2
py3: handle keyword arguments correctly in archival.py
Differential Revision: https://phab.mercurial-scm.org/D1625
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 10 Dec 2017 04:43:41 +0530 |
parents | 760fef6aca74 |
children | 887bbce7f491 |
line wrap: on
line diff
--- a/mercurial/archival.py Sun Dec 10 02:52:48 2017 +0530 +++ b/mercurial/archival.py Sun Dec 10 04:43:41 2017 +0530 @@ -126,7 +126,7 @@ 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: