Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always upload to master

We do this even if there are no results, so all the debugging
information will be on the master and I won't have to go digging around
for information to debug with.
  • Loading branch information...
commit 81fc96edfda8a46ced4723a7920388dc16cbefbf 1 parent 5fbcc37
@nwgh nwgh authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 sruploader.py
View
6 sruploader.py
@@ -26,9 +26,9 @@ def run(self):
pattern = os.path.join(outdir, 'upload_*.json')
files = glob.glob(pattern)
if not files:
- # Nothing to do, so forget it!
- logging.debug('no file to upload')
- return
+ # No results, but we still want to upload metadata for centralized
+ # debugging information.
+ logging.warning('no results to upload!')
results = {}
for filename in files:

0 comments on commit 81fc96e

Please sign in to comment.
Something went wrong with that request. Please try again.