changeset 35356:7f410793c04d

py3: handle keyword arguments correctly in help.py Differential Revision: https://phab.mercurial-scm.org/D1632
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 04:46:39 +0530
parents a119e97b6caf
children 056a9c8813aa
files mercurial/help.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help.py	Sun Dec 10 04:46:25 2017 +0530
+++ b/mercurial/help.py	Sun Dec 10 04:46:39 2017 +0530
@@ -453,7 +453,7 @@
                 rst.append(' :%s: %s\n' % (f, h[f]))
 
         ex = opts.get
-        anyopts = (ex('keyword') or not (ex('command') or ex('extension')))
+        anyopts = (ex(r'keyword') or not (ex(r'command') or ex(r'extension')))
         if not name and anyopts:
             exts = listexts(_('enabled extensions:'), extensions.enabled())
             if exts: