community-commits mailing list archives

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

URL: http://svn.apache.org/r1696541
Log:
bit more kludging for empire-db, sigh.

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=1696541&r1=1696540&r2=1696541&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Wed Aug 19 08:58:04 2015
@@ -239,12 +239,13 @@ if m:
             if tlp in pmap:
                 tlp = pmap[tlp]
             # fix for empire-db?
+            entrynew = entry
             if re.match("^empire-db.+", entry):
                 tlp = "empire-db"
-                entry = entry.replace("-db", "", 1)
+                entrynew = entry.replace("-db", "", 1)
             if tlp in groups:
                 emails[tlp] = emails[tlp] if tlp in emails else {}
-                emails[tlp][entry] = mld[entry]
+                emails[tlp][entry] = mld[entrynew]
     jdata = {}
     ddata = {}
     rdata = {}



Mime
View raw message