community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1838267 - in /comdev/reporter.apache.org: branches/TEST_INSTALL/scripts/mailglomper2.py trunk/scripts/mailglomper2.py
Date Fri, 17 Aug 2018 16:16:20 GMT
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



Mime
View raw message