diff hgext/acl.py @ 19872:681f7b9213a4

check-code: check for spaces around = for named parameters
author Mads Kiilerich <madski@unity3d.com>
date Thu, 03 Oct 2013 14:50:47 +0200
parents 31f32a96e1e3
children 80c5b2666a96
line wrap: on
line diff
--- a/hgext/acl.py	Thu Oct 03 14:50:47 2013 +0200
+++ b/hgext/acl.py	Thu Oct 03 14:50:47 2013 +0200
@@ -284,8 +284,8 @@
 
     cfg = ui.config('acl', 'config')
     if cfg:
-        ui.readconfig(cfg, sections = ['acl.groups', 'acl.allow.branches',
-        'acl.deny.branches', 'acl.allow', 'acl.deny'])
+        ui.readconfig(cfg, sections=['acl.groups', 'acl.allow.branches',
+            'acl.deny.branches', 'acl.allow', 'acl.deny'])
 
     allowbranches = buildmatch(ui, None, user, 'acl.allow.branches')
     denybranches = buildmatch(ui, None, user, 'acl.deny.branches')