community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1696544 - /comdev/reporter.apache.org/trunk/site/getjson.py
Date Wed, 19 Aug 2015 09:03:19 GMT
Author: humbedooh
Date: Wed Aug 19 09:03:19 2015
New Revision: 1696544

URL: http://svn.apache.org/r1696544
Log:
lucky number three?

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=1696544&r1=1696543&r2=1696544&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Wed Aug 19 09:03:19 2015
@@ -236,14 +236,15 @@ if m:
         f.close()
         for entry in mld:
             tlp = entry.split("-")[0]
+            nentry = entry
             if tlp == "empire":
                 tlp = "empire-db"
-                entry = entry.replace("empire-", "empire-db-")
+                nentry = entry.replace("empire-", "empire-db-")
             if tlp in pmap:
                 tlp = pmap[tlp]
             if tlp in groups:
                 emails[tlp] = emails[tlp] if tlp in emails else {}
-                emails[tlp][entry] = mld[entry]
+                emails[tlp][nentry] = mld[entry]
     jdata = {}
     ddata = {}
     rdata = {}



Mime
View raw message