community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1856329 - /comdev/reporter.apache.org/trunk/site/addrelease.py
Date Tue, 26 Mar 2019 16:19:37 GMT
Author: sebb
Date: Tue Mar 26 16:19:37 2019
New Revision: 1856329

URL: http://svn.apache.org/viewvc?rev=1856329&view=rev
Log:
Add more info if save fails

Modified:
    comdev/reporter.apache.org/trunk/site/addrelease.py

Modified: comdev/reporter.apache.org/trunk/site/addrelease.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/addrelease.py?rev=1856329&r1=1856328&r2=1856329&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/addrelease.py (original)
+++ comdev/reporter.apache.org/trunk/site/addrelease.py Tue Mar 26 16:19:37 2019
@@ -61,6 +61,10 @@ if date != None and version and committe
                     print("Content-Type: text/html\r\n\r\n<h3>Data submitted!</h3>You
may see the updated committee data at: <a href='https://reporter.apache.org/?%s'>https://reporter.apache.org/?%s</a>."
% (committee, committee))
         except Exception as e:
             err = e
+    else:
+        err = "User %s not a member of PMC %s nor an ASF member" % (user, committee)
+else:
+    err = "Date '%s', version '%s' or committee '%s' is missing" % (date, version, committee)
 
 if not saved:
     if dojson:



Mime
View raw message