Fix PyLint warning

This commit is contained in:
Ivan Kravets
2015-12-04 22:35:22 +02:00
parent f4f65e4c84
commit 8c8de45f30

View File

@ -436,7 +436,8 @@ class BasePlatform(object):
click.secho(line, fg=fg, err=level < 3)
def get_job_nums(self):
@staticmethod
def get_job_nums():
try:
return cpu_count()
except NotImplementedError: