]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing linter error in lib/pp_admintools/app/duplicate_attribs.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 1 Jun 2023 10:15:30 +0000 (12:15 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 1 Jun 2023 10:15:30 +0000 (12:15 +0200)
lib/pp_admintools/app/duplicate_attribs.py

index b381b1f60094a18620a93caa928d5304eaa3f126..95a2e06c8aeac0b3de3fbd8d6f932af70ce8848c 100644 (file)
@@ -25,7 +25,7 @@ from ..xlate import XLATOR
 
 from .ldap import BaseLdapApplication
 
-__version__ = '0.3.2'
+__version__ = '0.3.3'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -43,7 +43,10 @@ class EvalDuplicateAttribsApplication(BaseLdapApplication):
 
     default_uniq_attributes = ['uid']
     default_dependend_uniq_attribs = {
-        'mail': '|(objectClass=inetLocalMailRecipient)(objectClass=inetMailGroup)(objectclass=inetMailUser)',
+        'mail': (
+            '|(objectClass=inetLocalMailRecipient)'
+            '(objectClass=inetMailGroup)'
+            '(objectclass=inetMailUser)'),
         'gidNumber': 'objectClass=posixGroup',
         'uidNumber': 'objectClass=posixAccount',
     }