ChangeSet 1.1544, 2005/05/25 09:02:20+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx
this patch fixes a wrong email address and replaces a number (errno)
with a defined constant to make it more portable.
Signed-off-by: Nguyen Anh Quynh <aquynh@xxxxxxxxx>
XendBootloader.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -Nru a/tools/python/xen/xend/XendBootloader.py
b/tools/python/xen/xend/XendBootloader.py
--- a/tools/python/xen/xend/XendBootloader.py 2005-05-25 05:01:52 -04:00
+++ b/tools/python/xen/xend/XendBootloader.py 2005-05-25 05:01:52 -04:00
@@ -2,7 +2,7 @@
# XendBootloader.py - Framework to run a boot loader for picking the kernel
#
# Copyright 2005 Red Hat, Inc.
-# Jeremy Katz <katzj@xxxxxxxxxx>
+# Jeremy Katz <katzj@xxxxxxxxxx>
#
# This software may be freely redistributed under the terms of the GNU
# general public license.
@@ -12,7 +12,7 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
-import os, sys, select
+import os, sys, select, errno
import sxp
from XendLogging import log
@@ -61,7 +61,7 @@
try:
r = os.open(BL_FIFO, os.O_RDONLY)
except OSError, e:
- if e.errno == 4:
+ if e.errno == errno.EINTR:
continue
break
ret = ""
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|