# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2017-12-09 23:13:41 # Node ID a274c4b698f22492bfabe5770196ea7c5a3de763 # Parent 576ba8194fa8bcec976c294b8347861562b0f7ab py3: handle keyword arguments correctly in archival.py Differential Revision: https://phab.mercurial-scm.org/D1625 diff --git a/mercurial/archival.py b/mercurial/archival.py --- a/mercurial/archival.py +++ b/mercurial/archival.py @@ -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: