You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2015/11/02 14:17:32 UTC
svn commit: r1711959 - /comdev/reporter.apache.org/trunk/mailglomper2.py
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: