community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1864266 - /comdev/reporter.apache.org/trunk/site/wizard/comments.py
Date Fri, 02 Aug 2019 18:13:29 GMT
Author: humbedooh
Date: Fri Aug  2 18:13:29 2019
New Revision: 1864266

URL: http://svn.apache.org/viewvc?rev=1864266&view=rev
Log:
fall back if we can't find the project name

Modified:
    comdev/reporter.apache.org/trunk/site/wizard/comments.py

Modified: comdev/reporter.apache.org/trunk/site/wizard/comments.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/comments.py?rev=1864266&r1=1864265&r2=1864266&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/comments.py (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/comments.py Fri Aug  2 18:13:29 2019
@@ -78,7 +78,9 @@ def main():
         # Figure out how we're able to access this data
         member = isMember(USER)
         pmc = project in getPMCs(USER)
-        pname = pmcSummary[project]['name'].replace('Apache ', '')
+        pname = project
+        if project in pmcSummary:
+            pname = pmcSummary[project]['name'].replace('Apache ', '')
         cmt = {}
         
         # If we can access, fetch comments



Mime
View raw message