changeset 41546 | bd3f03d8cc9f |
parent 39322 | 3a60416c4fd8 |
child 43076 | 2372284d9457 |
--- a/hgext/commitextras.py Mon Feb 04 09:29:25 2019 -0800 +++ b/hgext/commitextras.py Mon Feb 04 08:54:30 2019 -0800 @@ -58,7 +58,7 @@ if not k: msg = _("unable to parse '%s', keys can't be empty") raise error.Abort(msg % raw) - if re.search('[^\w-]', k): + if re.search(br'[^\w-]', k): msg = _("keys can only contain ascii letters, digits," " '_' and '-'") raise error.Abort(msg)