[pypy-commit] benchmarks default: hopefully fix uploading
fijal
noreply at buildbot.pypy.org
Sat Feb 4 11:55:46 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r173:bafaa81907cc
Date: 2012-02-04 12:55 +0200
http://bitbucket.org/pypy/benchmarks/changeset/bafaa81907cc/
Log: hopefully fix uploading
diff --git a/runner.py b/runner.py
--- a/runner.py
+++ b/runner.py
@@ -52,7 +52,7 @@
def get_upload_options(options):
- '''
+ """
returns a dict with 2 keys: CHANGED, BASELINE. The values are
dicts with the keys
* 'upload' (boolean)
@@ -67,7 +67,7 @@
raises: AssertionError if upload is specified, but not the
corresponding executable or revision.
- '''
+ """
if options.upload_baseline_revision is None:
options.upload_baseline_revision = options.upload_revision
@@ -281,7 +281,7 @@
urls = upload_options[run]['urls']
project = upload_options[run]['project']
executable = upload_options[run]['executable']
- branch = upload_options[run]['branch']
+ branch = upload_options[run]['branch'] or 'default'
revision = upload_options[run]['revision']
if upload:
More information about the pypy-commit
mailing list