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 2018/08/17 16:16:20 UTC

svn commit: r1838267 - in /comdev/reporter.apache.org: branches/TEST_INSTALL/scripts/mailglomper2.py trunk/scripts/mailglomper2.py

Author: sebb
Date: Fri Aug 17 16:16:20 2018
New Revision: 1838267

URL: http://svn.apache.org/viewvc?rev=1838267&view=rev
Log:
Update the cache stamp

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=1838267&r1=1838266&r2=1838267&view=diff
==============================================================================
--- comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py (original)
+++ comdev/reporter.apache.org/branches/TEST_INSTALL/scripts/mailglomper2.py Fri Aug 17 16:16:20 2018
@@ -170,6 +170,7 @@ def weekly_stats(ml, date):
         if ct != None and length == lengthold:
             tsprint("Unchanged length, using cached data (%d)" % ct)
             mldata.close()
+            mldcache[fname]['stamp'] = stamp # update the stamp so we don't keep trying to download the same file
             return ct, weekly
 
         ct = 0

Modified: comdev/reporter.apache.org/trunk/scripts/mailglomper2.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/mailglomper2.py?rev=1838267&r1=1838266&r2=1838267&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/mailglomper2.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/mailglomper2.py Fri Aug 17 16:16:20 2018
@@ -170,6 +170,7 @@ def weekly_stats(ml, date):
         if ct != None and length == lengthold:
             tsprint("Unchanged length, using cached data (%d)" % ct)
             mldata.close()
+            mldcache[fname]['stamp'] = stamp # update the stamp so we don't keep trying to download the same file
             return ct, weekly
 
         ct = 0