community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1779982 - /comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
Date Mon, 23 Jan 2017 20:27:37 GMT
Author: sebb
Date: Mon Jan 23 20:27:36 2017
New Revision: 1779982

URL: http://svn.apache.org/viewvc?rev=1779982&view=rev
Log:
Warning may not warrant a mail message

Modified:
    comdev/reporter.apache.org/trunk/scripts/parsepmcs.py

Modified: comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/parsepmcs.py?rev=1779982&r1=1779981&r2=1779982&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/parsepmcs.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/parsepmcs.py Mon Jan 23 20:27:36 2017
@@ -132,9 +132,8 @@ for group in ldapgroups:
 nonldapgroups = loadJson('https://whimsy.apache.org/public/public_nonldap_groups.json')['groups']
 for nongroup in sorted(nonldapgroups):
     if nongroup in ldapgroups:
-        printMail("WARN: duplicate definition of group '%s'" % nongroup,
-            body="The non-LDAP group '%s' is defined in the asf-authorization-template file,
and should not also exist as an LDAP unix group"  % nongroup,
-            recipients=[SITE_DEV])
+#         Don't mail; the group might be still in use if the LDAP defn has yet to be added
+        print("WARN: duplicate definition of group '%s'" % nongroup)
     else:
         if nongroup in projects:
             print("Dropping non-ldap group %s" % nongroup)



Mime
View raw message