community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1696547 - /comdev/reporter.apache.org/trunk/site/chi.py
Date Wed, 19 Aug 2015 09:14:20 GMT
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 = {}



Mime
View raw message