py3: handle keyword arguments correctly in archival.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 10 Dec 2017 04:43:41 +0530
changeset 35349 a274c4b698f2
parent 35348 576ba8194fa8
child 35350 82ee401135dd
py3: handle keyword arguments correctly in archival.py Differential Revision: https://phab.mercurial-scm.org/D1625
mercurial/archival.py
--- 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: