mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 07:44:16 +00:00
NotImplimentedError => NotImplementedError
This commit is contained in:
parent
1afa025166
commit
549cb7ff7d
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ def get_parser():
|
||||||
if multiprocessing:
|
if multiprocessing:
|
||||||
try:
|
try:
|
||||||
auto = multiprocessing.cpu_count() or 1
|
auto = multiprocessing.cpu_count() or 1
|
||||||
except NotImplimentedError:
|
except NotImplementedError:
|
||||||
auto = 1
|
auto = 1
|
||||||
parser.config_options.append('jobs')
|
parser.config_options.append('jobs')
|
||||||
parser.add_option('-j', '--jobs', type='int', default=auto,
|
parser.add_option('-j', '--jobs', type='int', default=auto,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue