community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1711959 - /comdev/reporter.apache.org/trunk/mailglomper2.py
Date Mon, 02 Nov 2015 13:17:32 GMT
Author: sebb
Date: Mon Nov  2 13:17:32 2015
New Revision: 1711959

URL: http://svn.apache.org/viewvc?rev=1711959&view=rev
Log:
Bug

Modified:
    comdev/reporter.apache.org/trunk/mailglomper2.py

Modified: comdev/reporter.apache.org/trunk/mailglomper2.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/mailglomper2.py?rev=1711959&r1=1711958&r2=1711959&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/mailglomper2.py (original)
+++ comdev/reporter.apache.org/trunk/mailglomper2.py Mon Nov  2 13:17:32 2015
@@ -200,7 +200,7 @@ for mlist in re.finditer(r"<a href='([-a
 
     tsprint("Info: %s has %u mails (%u secs)" % (ml, mlct, time.time() - start)) # total
for mail group
     now = time.time()
-    if now - lastCheckpoint - 600: # checkpoint every 10 minutes
+    if now - lastCheckpoint > 600: # checkpoint every 10 minutes
         lastCheckpoint = now
         tsprint("Creating checkpoint of JSON files")
         with open(__MAILDATA_EXTENDED,'w+') as f:



Mime
View raw message