From 7c19679cdd5d608e28af79b937c0de04b13d628a Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 9 Apr 2014 09:50:47 +0200 Subject: [PATCH] use timeout=None to prevent TIMEOUT during child.expect --- buildozer/targets/android.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 5f36c62..3ff09eb 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -295,7 +295,8 @@ class TargetAndroid(Target): from buildozer.libs.pexpect import EOF child = self.buildozer.cmd_expect('{} update sdk -u -a -t {}'.format( self.android_cmd, packages, - cwd=self.buildozer.global_platform_dir)) + cwd=self.buildozer.global_platform_dir), + timeout=None) while True: index = child.expect([EOF, '[y/n]: ']) if index == 0: