Changed timeout to 600s to avoid premature end for android tools install

This commit is contained in:
Ben Rousch 2014-04-08 21:34:41 -04:00
parent 9b4db49f02
commit c807cd3171

View file

@ -297,7 +297,7 @@ class TargetAndroid(Target):
self.android_cmd, packages, self.android_cmd, packages,
cwd=self.buildozer.global_platform_dir)) cwd=self.buildozer.global_platform_dir))
while True: while True:
index = child.expect([EOF, '[y/n]: ']) index = child.expect([EOF, '\[y/n\]:'], timeout=600)
if index == 0: if index == 0:
break break
child.sendline('y') child.sendline('y')