Patchwork D1625: py3: handle keyword arguments correctly in archival.py

login
register
mail settings
Submitter phabricator
Date Dec. 10, 2017, 2:06 a.m.
Message ID <c379d28d0e49ce8301e85d944165c2d5@localhost.localdomain>
Download mbox | patch
Permalink /patch/26159/
State Not Applicable
Headers show

Comments

phabricator - Dec. 10, 2017, 2:06 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa274c4b698f2: py3: handle keyword arguments correctly in archival.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1625?vs=4292&id=4305

REVISION DETAIL
  https://phab.mercurial-scm.org/D1625

AFFECTED FILES
  mercurial/archival.py

CHANGE DETAILS




To: pulkit, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/mercurial/archival.py b/mercurial/archival.py
--- a/mercurial/archival.py
+++ b/mercurial/archival.py
@@ -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: