summaryrefslogtreecommitdiffstats
path: root/utils/lit/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/Util.py')
-rw-r--r--utils/lit/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/Util.py b/utils/lit/Util.py
index e62a8ed..66c5e46 100644
--- a/utils/lit/Util.py
+++ b/utils/lit/Util.py
@@ -15,7 +15,7 @@ def detectCPUs():
return int(os.popen2("sysctl -n hw.ncpu")[1].read())
# Windows:
if os.environ.has_key("NUMBER_OF_PROCESSORS"):
- ncpus = int(os.environ["NUMBER_OF_PROCESSORS"]);
+ ncpus = int(os.environ["NUMBER_OF_PROCESSORS"])
if ncpus > 0:
return ncpus
return 1 # Default
OpenPOWER on IntegriCloud