mercurial/debugcommands.py
changeset 43503 313e3a279828
parent 43238 101ae8bbfa02
child 43506 9f70512ae2cf
--- a/mercurial/debugcommands.py	Thu Nov 07 03:59:22 2019 -0800
+++ b/mercurial/debugcommands.py	Thu Nov 07 13:18:19 2019 -0500
@@ -651,7 +651,7 @@
 )
 def debugdate(ui, date, range=None, **opts):
     """parse and display a date"""
-    if opts[r"extended"]:
+    if opts["extended"]:
         d = dateutil.parsedate(date, util.extendeddateformats)
     else:
         d = dateutil.parsedate(date)
@@ -877,7 +877,7 @@
             timestr = b'set                 '
         else:
             timestr = time.strftime(
-                r"%Y-%m-%d %H:%M:%S ", time.localtime(ent[3])
+                "%Y-%m-%d %H:%M:%S ", time.localtime(ent[3])
             )
             timestr = encoding.strtolocal(timestr)
         if ent[1] & 0o20000: