# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-23 11:45:36 # Node ID 39212037e65eb95fc68dcaf05e9439b512d9c91e # Parent dbadf28d4db0439524fd7037679b789af5e7908b py3: fix keyword arguments handling in hgext/acl.py # skip-blame because we added r'' prefixes diff --git a/hgext/acl.py b/hgext/acl.py --- a/hgext/acl.py +++ b/hgext/acl.py @@ -335,8 +335,8 @@ def hook(ui, repo, hooktype, node=None, 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])