Fix warning that newer Python is whining about.

Fix a warning that a newer version of Python is whining about:
SyntaxWarning: "is" with a literal. Did you mean "=="?
This commit is contained in:
Rick Gibbed 2020-02-08 16:25:13 -06:00 committed by GitHub
parent 7ed6296bb2
commit 754e64fcf1
1 changed files with 1 additions and 1 deletions

View File

@ -636,7 +636,7 @@ class BaseBuildCommand(Command):
else:
result = subprocess.call([
'make',
'-j' if threads is 0 else '-j%d' % threads,
'-j' if threads == 0 else '-j%d' % threads,
'-Cbuild/',
'config=%s_linux' % (args['config']),
] + pass_args + args['target'], shell=False, env=dict(os.environ))