community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1714755 - /comdev/projects.apache.org/scripts/cronjobs/urlutils.py
Date Tue, 17 Nov 2015 11:27:26 GMT
Author: sebb
Date: Tue Nov 17 11:27:26 2015
New Revision: 1714755

URL: http://svn.apache.org/viewvc?rev=1714755&view=rev
Log:
Better info in messages

Modified:
    comdev/projects.apache.org/scripts/cronjobs/urlutils.py

Modified: comdev/projects.apache.org/scripts/cronjobs/urlutils.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/scripts/cronjobs/urlutils.py?rev=1714755&r1=1714754&r2=1714755&view=diff
==============================================================================
--- comdev/projects.apache.org/scripts/cronjobs/urlutils.py (original)
+++ comdev/projects.apache.org/scripts/cronjobs/urlutils.py Tue Nov 17 11:27:26 2015
@@ -167,13 +167,13 @@ class UrlCache(object):
                 now = time.time()
                 diff = now - checkTime
                 if diff < self.__interval:
-                    print("Recently checked: %d < %d, skip check" % (diff, self.__interval))
+                    print("Recently checked: %d < %d, skip check for %s" % (diff, self.__interval,
name))
                     upToDate = True
                 else:
                     if checkTime >= 0:
-                        print("Not recently checked: %d > %d" % (diff, self.__interval))
+                        print("Not recently checked: %d > %d (%s)" % (diff, self.__interval,
name))
                     else:
-                        print("Not recently checked")
+                        print("Not recently checked (%s)" % name)
         else:
             print("Not found %s " % name)
 



Mime
View raw message