hgext/acl.py
changeset 51762 ca7bde5dbafb
parent 51759 7f0cb9ee0534
child 51901 f4733654f144
--- a/hgext/acl.py	Thu Jul 18 12:03:29 2024 +0200
+++ b/hgext/acl.py	Thu Jul 18 12:36:12 2024 +0200
@@ -279,7 +279,6 @@
 
 
 def _getusers(ui, group):
-
     # First, try to use group definition from section [acl.groups]
     hgrcusers = ui.configlist(b'acl.groups', group)
     if hgrcusers:
@@ -294,12 +293,10 @@
 
 
 def _usermatch(ui, user, usersorgroups):
-
     if usersorgroups == b'*':
         return True
 
     for ug in usersorgroups.replace(b',', b' ').split():
-
         if ug.startswith(b'!'):
             # Test for excluded user or group. Format:
             # if ug is a user  name: !username
@@ -368,7 +365,6 @@
 
 
 def hook(ui, repo, hooktype, node=None, source=None, **kwargs):
-
     ensureenabled(ui)
 
     if hooktype not in [b'pretxnchangegroup', b'pretxncommit', b'prepushkey']: