community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1741957 - /comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
Date Mon, 02 May 2016 10:46:03 GMT
Author: sebb
Date: Mon May  2 10:46:03 2016
New Revision: 1741957

URL: http://svn.apache.org/viewvc?rev=1741957&view=rev
Log:
Make messages more obvious

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=1741957&r1=1741956&r2=1741957&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/parsepmcs.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/parsepmcs.py Mon May  2 10:46:03 2016
@@ -125,7 +125,7 @@ for nongroup in sorted(nonldapgroups):
 #        else:
 #            print("Not found non-ldap group %s" % nongroup)
     else:
-        print("Unexpected non-ldap group %s in projects list " % nongroup)
+        print("WARN: unexpected non-ldap group %s in projects list " % nongroup)
 
 # Delete retired members
 ret = 0
@@ -216,7 +216,7 @@ if len(chairDiffs) == 0:
     print("foundation/index.mdtext list of chairs agrees with committee-info")
 else:
     import sendmail
-    print("foundation/index.mdtext list of chairs disagrees with committee-info:")
+    print("WARN: foundation/index.mdtext list of chairs disagrees with committee-info:")
     for m in chairDiffs:
         print(m)
     try:
@@ -224,6 +224,6 @@ else:
         errs = "\n".join(chairDiffs)
         sendmail.sendMail("foundation/index list of chairs disagrees with committee-info",
BODY+"\n"+errs, DEST)
     except Exception as e:
-        print("Error: unable to send email", e)
+        print("ERROR: unable to send email", e)
 
 print("All done! removed %u retired entries" % ret)



Mime
View raw message