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 2015/08/19 11:14:20 UTC

svn commit: r1696547 - /comdev/reporter.apache.org/trunk/site/chi.py

Author: humbedooh
Date: Wed Aug 19 09:14:20 2015
New Revision: 1696547

URL: http://svn.apache.org/r1696547
Log:
fix chi as well

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

Modified: comdev/reporter.apache.org/trunk/site/chi.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/chi.py?rev=1696547&r1=1696546&r2=1696547&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/chi.py (original)
+++ comdev/reporter.apache.org/trunk/site/chi.py Wed Aug 19 09:14:20 2015
@@ -133,9 +133,13 @@ if m:
                 tlp = entry.split("-")[0]
                 if tlp in pmap:
                     tlp = pmap[tlp]
+                nentry = entry
+                if tlp == "empire":
+                    tlp = "empire-db"
+                    nentry = entry.replace("empire-", "empire-db-")
                 if True:
                     emails[tlp] = emails[tlp] if tlp in emails else {}
-                    emails[tlp][entry] = mld[entry]
+                    emails[tlp][entry] = mld[nentry]
         jdata = {}
         ddata = {}
         rdata = {}