community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1838423 - in /comdev/reporter.apache.org: branches/TEST_INSTALL/scripts/mailglomper2.py trunk/scripts/mailglomper2.py
Date Mon, 20 Aug 2018 12:03:59 GMT
Author: sebb
Date: Mon Aug 20 12:03:59 2018
New Revision: 1838423

URL: http://svn.apache.org/viewvc?rev=1838423&view=rev
Log:
Don't retain history

Modified:
    comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py
    comdev/reporter.apache.org/trunk/scripts/mailglomper2.py

Modified: comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py?rev=1838423&r1=1838422&r2=1838423&view=diff
==============================================================================
--- comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py (original)
+++ comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py Mon Aug 20 12:03:59
2018
@@ -60,12 +60,8 @@ def handle(signum, frame):
 tsprint("Start")
 startTime = time.time()
 
-try:
-    with open(__MAILDATA_EXTENDED,'r') as f:
-        mls = json.loads(f.read())
-    tsprint("Read JSON successfully")
-except:
-    mls = {}
+# we don't need to retain history
+mls = {}
 
 try:
     with open(__MAILDATA_CACHE,'r') as f:

Modified: comdev/reporter.apache.org/trunk/scripts/mailglomper2.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/mailglomper2.py?rev=1838423&r1=1838422&r2=1838423&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/mailglomper2.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/mailglomper2.py Mon Aug 20 12:03:59 2018
@@ -60,12 +60,8 @@ def handle(signum, frame):
 tsprint("Start")
 startTime = time.time()
 
-try:
-    with open(__MAILDATA_EXTENDED,'r') as f:
-        mls = json.loads(f.read())
-    tsprint("Read JSON successfully")
-except:
-    mls = {}
+# we don't need to retain history
+mls = {}
 
 try:
     with open(__MAILDATA_CACHE,'r') as f:



Mime
View raw message