[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [PYGRUB] Make the boot-choice timeout actually time out.
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> # Date 1168877072 0 # Node ID ba18aa8b9315d70ac6895a5fa5d49a62420461e7 # Parent ef23a0150abbfac85bf1c51d50c6acad1dd9f300 [PYGRUB] Make the boot-choice timeout actually time out. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> --- tools/pygrub/src/pygrub | 3 +++ 1 files changed, 3 insertions(+) diff -r ef23a0150abb -r ba18aa8b9315 tools/pygrub/src/pygrub --- a/tools/pygrub/src/pygrub Mon Jan 15 15:58:51 2007 +0000 +++ b/tools/pygrub/src/pygrub Mon Jan 15 16:04:32 2007 +0000 @@ -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'): _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |