[PYGRUB] Make the boot-choice timeout actually time out.

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
This commit is contained in:
Tim Deegan committed 2007-01-15 16:04:32 +00:00
1 parent 6127793b4c
commit d50a0b66da
1 file changed
+3
+3
View File
@@ -405,6 +405,9 @@ class Grub:
c = self.screen.getch()
if mytime != -1:
mytime += 1
if mytime >= int(timeout):
self.isdone = True
break
# handle keypresses
if c == ord('c'):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.