community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r1821842 - /comdev/reporter.apache.org/trunk/scripts/readchecker.py
Date Mon, 22 Jan 2018 11:34:09 GMT
Author: henkp
Date: Mon Jan 22 11:34:09 2018
New Revision: 1821842

URL: http://svn.apache.org/viewvc?rev=1821842&view=rev
Log:
+= fix dst path in readchecker.py

Modified:
    comdev/reporter.apache.org/trunk/scripts/readchecker.py

Modified: comdev/reporter.apache.org/trunk/scripts/readchecker.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/readchecker.py?rev=1821842&r1=1821841&r2=1821842&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/readchecker.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/readchecker.py Mon Jan 22 11:34:09 2018
@@ -1,7 +1,8 @@
 #!/usr/bin/env python3
 
 """
-   Refreshes the data/cache/checker.json file
+   Refreshes the data/cache/checker.json file.
+   Based on readjira.py.
 
    This script is run under cron, so does not check the age of any files.
    It is assumed that the job is run as frequently as necessary
@@ -22,7 +23,7 @@ from inspect import getsourcefile
 
 MYHOME = dirname(dirname(abspath(getsourcefile(lambda:0)))) # automatically work out home
location so can run the code anywhere
 SRC = "https://checker.apache.org/json/"
-DST = "%s/cache/checker.json" % MYHOME
+DST = "%s/data/cache/checker.json" % MYHOME
 print("Using MYHOME=%s" % MYHOME)
 print("Using source [%s]" % SRC)
 print("Using dest   [%s]" % DST)



Mime
View raw message