Author: humbedooh Date: Tue Aug 6 23:53:24 2019 New Revision: 1864576 URL: http://svn.apache.org/viewvc?rev=1864576&view=rev Log: break and don't save to cache on failure..
Modified: comdev/reporter.apache.org/trunk/scripts/wsgi.py Modified: comdev/reporter.apache.org/trunk/scripts/wsgi.py URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/wsgi.py?rev=1864576&r1=1864575&r2=1864576&view=diff ============================================================================== --- comdev/reporter.apache.org/trunk/scripts/wsgi.py (original) +++ comdev/reporter.apache.org/trunk/scripts/wsgi.py Tue Aug 6 23:53:24 2019 @@ -36,6 +36,8 @@ def app(environ, start_fn): # If cache failed, generate fom scratch else: mpdata = pdata.generate(user, xproject, xproject == project) + if not mpdata: + break open(wanted_file, "w").write(json.dumps(mpdata)) # Weave results into combined object, mindful of kibble data for k, v in mpdata.items():