[pypy-commit] benchmarks default: fix --niceness 0

bdkearns noreply at buildbot.pypy.org
Fri Apr 12 05:45:51 CEST 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r204:5c09140d7755
Date: 2013-04-11 23:45 -0400
http://bitbucket.org/pypy/benchmarks/changeset/5c09140d7755/

Log:	fix --niceness 0

diff --git a/runner.py b/runner.py
--- a/runner.py
+++ b/runner.py
@@ -274,7 +274,7 @@
     revision = options.upload_revision
     force_host = options.force_host
 
-    if options.niceness:
+    if options.niceness is not None:
         os.nice(options.niceness - os.nice(0))
 
     results = run_and_store(benchmarks, output_filename, changed_path,


More information about the pypy-commit mailing list