Commit 4c68c0c5 authored by Marcin Wojdyr's avatar Marcin Wojdyr Committed by Colin Walters

avoid message about unknown key e

if multiprocessing module is not found, as a side effect we get:
I: unknown keys defined in configuration file: e

https://bugzilla.gnome.org/show_bug.cgi?id=671226
parent 0de6d69e
......@@ -53,7 +53,7 @@ builddir_pattern = '%s'
try:
import multiprocessing
jobs = multiprocessing.cpu_count() * 2
except ImportError, e:
except ImportError, _e:
try:
jobs = 2 * os.sysconf('SC_NPROCESSORS_ONLN')
except (OSError, AttributeError, ValueError):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment