Author: humbedooh
Date: Sat Aug 3 07:23:56 2019
New Revision: 1864315
URL: http://svn.apache.org/viewvc?rev=1864315&view=rev
Log:
belts and bracers..
Modified:
comdev/reporter.apache.org/trunk/site/getjson.py
Modified: comdev/reporter.apache.org/trunk/site/getjson.py
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/getjson.py?rev=1864315&r1=1864314&r2=1864315&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/getjson.py (original)
+++ comdev/reporter.apache.org/trunk/site/getjson.py Sat Aug 3 07:23:56 2019
@@ -42,6 +42,7 @@ uc = UrlCache(interval=1800, silent=True
# Relative path to home directory from here (site)
RAOHOME = '../'
+RAOHOME_FULL = '/var/www/reporter.apache.org'
COMMITTER_INFO = 'https://whimsy.apache.org/public/public_ldap_people.json'
MEMBER_INFO = 'https://whimsy.apache.org/public/member-info.json'
@@ -378,7 +379,7 @@ if re.match(r"^[-a-zA-Z0-9_.]+$", user):
kibble = None
if oproject:
try:
- txt = subprocess.check_output(('%wizard/kibble.py' % RAOHOME, oproject))
+ txt = subprocess.check_output(('%/site/wizard/kibble.py' % RAOHOME_FULL, oproject))
kibble = json.loads(txt)
except:
pass
|