You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/02 18:13:29 UTC

svn commit: r1864266 - /comdev/reporter.apache.org/trunk/site/wizard/comments.py

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