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/06 10:51:44 UTC

svn commit: r1864505 - /comdev/reporter.apache.org/trunk/site/getjson.py

Author: humbedooh
Date: Tue Aug  6 10:51:44 2019
New Revision: 1864505

URL: http://svn.apache.org/viewvc?rev=1864505&view=rev
Log:
use fixer on tlp names as well

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

Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1864505&r1=1864504&r2=1864505&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Tue Aug  6 10:51:44 2019
@@ -159,10 +159,10 @@ def getJIRAProjects(project, tlpid):
         # Check if this is actually a TLP not ours
         mayuse = True
         for xtlp in charters:
-            if xtlp['name'] == fixProjectCategory(entry['name']) and xtlp['id'] != tlpid:
+            if fixProjectCategory(xtlp['name']) == fixProjectCategory(entry['name']) and xtlp['id'] != tlpid:
                 mayuse = False
                 break
-            elif xtlp['name'] == fixProjectCategory(entry['name']) and xtlp['id'] == tlpid:
+            elif fixProjectCategory(xtlp['name']) == fixProjectCategory(entry['name']) and xtlp['id'] == tlpid:
                 jiras.append(entry['key'])
                 mayuse = False
                 break