From: Daniel Martí Date: Tue, 1 Jul 2014 15:51:17 +0000 (+0200) Subject: Fix very silly typo that broke all apps using buildjni X-Git-Tag: 0.2.1~75 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=22f4ed4b7a29e7e6a6ad000f65d13b0742bcb2bd;p=fdroidserver.git Fix very silly typo that broke all apps using buildjni --- diff --git a/fdroidserver/build.py b/fdroidserver/build.py index ee14fa65..dfbf4699 100644 --- a/fdroidserver/build.py +++ b/fdroidserver/build.py @@ -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 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") if thisbuild['novcheck']: vercode = thisbuild['vercode']