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:
parent
7ed6296bb2
commit
754e64fcf1
|
@ -636,7 +636,7 @@ class BaseBuildCommand(Command):
|
||||||
else:
|
else:
|
||||||
result = subprocess.call([
|
result = subprocess.call([
|
||||||
'make',
|
'make',
|
||||||
'-j' if threads is 0 else '-j%d' % threads,
|
'-j' if threads == 0 else '-j%d' % threads,
|
||||||
'-Cbuild/',
|
'-Cbuild/',
|
||||||
'config=%s_linux' % (args['config']),
|
'config=%s_linux' % (args['config']),
|
||||||
] + pass_args + args['target'], shell=False, env=dict(os.environ))
|
] + pass_args + args['target'], shell=False, env=dict(os.environ))
|
||||||
|
|
Loading…
Reference in New Issue