8000 Fixed missing else statement in for loop, allowing systems where cyth… · mixedCase/python-for-android@aab0e11 · GitHub
[go: up one dir, main page]

Skip to content

Commit aab0e11

Browse files
author
Andrés Rodríguez
committed
Fixed missing else statement in for loop, allowing systems where cython2 isn't symlinked to cython to build with the right cython binary
1 parent 77346c5 commit aab0e11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ def prepare_build_environment(self, user_sdk_dir, user_ndk_dir,
330330
if cython:
331331
self.cython = cython
332332
break
333-
self.cython = 'cython'
333+
else:
334+
self.cython = 'cython'
334335
if not self.cython:
335336
ok = False
336337
warning("Missing requirement: cython is not installed")

0 commit comments

Comments
 (0)
0