changeset 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 576ba8194fa8
children 82ee401135dd
files mercurial/archival.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: