changeset 36726:009da8c28e4d

archival: fix a missing r'' on a kwargs check # skip-blame just an r prefix Differential Revision: https://phab.mercurial-scm.org/D2671
author Augie Fackler <augie@google.com>
date Sun, 04 Mar 2018 16:06:10 -0500
parents 93b8c83ef136
children d3c231f8d27d
files mercurial/archival.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/archival.py	Sun Mar 04 16:05:44 2018 -0500
+++ b/mercurial/archival.py	Sun Mar 04 16:06:10 2018 -0500
@@ -125,7 +125,7 @@
 
         def __init__(self, *args, **kw):
             timestamp = None
-            if 'timestamp' in kw:
+            if r'timestamp' in kw:
                 timestamp = kw.pop(r'timestamp')
             if timestamp is None:
                 self.timestamp = time.time()