aboutsummaryrefslogtreecommitdiffstats
path: root/brutha/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'brutha/__main__.py')
-rw-r--r--brutha/__main__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/brutha/__main__.py b/brutha/__main__.py
index 4e31f33..6097218 100644
--- a/brutha/__main__.py
+++ b/brutha/__main__.py
@@ -5,14 +5,15 @@ from __future__ import absolute_import
import argparse
import sys
from StringIO import StringIO
+from multiprocessing import cpu_count
from .output import OUTPUTS
from .tree import Tree
-from .util import default_output, detect_cores
+from .util import default_output
def main():
- cores = detect_cores()
+ cores = cpu_count()
output = default_output(cores)
parser = argparse.ArgumentParser(