Author: Antonio Cuni <[email protected]>
Branch:
Changeset: r141:fef6e585616d
Date: 2011-08-12 11:06 +0200
http://bitbucket.org/pypy/benchmarks/changeset/fef6e585616d/
Log: really use 'default' as the default branch name if you pass an empty
string
diff --git a/runner.py b/runner.py
--- a/runner.py
+++ b/runner.py
@@ -113,6 +113,11 @@
parser.add_option('--postfix', default='', action='store',
help='Append a postfix to uploaded executable')
options, args = parser.parse_args(argv)
+ #
+ # use 'default' if the branch is empty
+ if not options.branch:
+ options.branch = 'default'
+
benchmarks = options.benchmarks.split(',')
for benchmark in benchmarks:
if benchmark not in BENCHMARK_SET:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit