Fix very silly typo that broke all apps using buildjni

This commit is contained in:
Daniel Martí 2014-07-01 17:51:17 +02:00
parent 1a11982897
commit 22f4ed4b7a

View file

@ -816,7 +816,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
nativecode = None if not nativecode else nativecode nativecode = None if not nativecode else nativecode
if thisbuild['buildjni'] and thisbuild['buildjni'] != ['no']: if thisbuild['buildjni'] and thisbuild['buildjni'] != ['no']:
if nativecode is not None: if nativecode is None:
raise BuildException("Native code should have been built but none was packaged") raise BuildException("Native code should have been built but none was packaged")
if thisbuild['novcheck']: if thisbuild['novcheck']:
vercode = thisbuild['vercode'] vercode = thisbuild['vercode']