Mercurial > hg-stable
changeset 36408:39212037e65e
py3: fix keyword arguments handling in hgext/acl.py
# skip-blame because we added r'' prefixes
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 23 Feb 2018 17:15:36 +0530 |
parents | dbadf28d4db0 |
children | 27ab9264dd61 |
files | hgext/acl.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/acl.py Fri Feb 23 17:14:25 2018 +0530 +++ b/hgext/acl.py Fri Feb 23 17:15:36 2018 +0530 @@ -335,8 +335,8 @@ return user = None - if source == 'serve' and 'url' in kwargs: - url = kwargs['url'].split(':') + if source == 'serve' and r'url' in kwargs: + url = kwargs[r'url'].split(':') if url[0] == 'remote' and url[1].startswith('http'): user = urlreq.unquote(url[3])