community-commits mailing list archives

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

URL: http://svn.apache.org/r1696540
Log:
empire-db uses empire.a.o, which is confusing to the script

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=1696540&r1=1696539&r2=1696540&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Wed Aug 19 08:56:06 2015
@@ -241,6 +241,7 @@ if m:
             # fix for empire-db?
             if re.match("^empire-db.+", entry):
                 tlp = "empire-db"
+                entry = entry.replace("-db", "", 1)
             if tlp in groups:
                 emails[tlp] = emails[tlp] if tlp in emails else {}
                 emails[tlp][entry] = mld[entry]



Mime
View raw message