Author: Brian Kearns <[email protected]>
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,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to