use timeout=None to prevent TIMEOUT during child.expect
This commit is contained in:
parent
9b4db49f02
commit
7c19679cdd
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue