ia64/xen-unstable

changeset 5141:91dcc24c50de

bitkeeper revision 1.1544 (4294310cgG9HRlkgAVpjdkn3zSUpkw)

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@gmail.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed May 25 08:02:20 2005 +0000 (2005-05-25)
parents 28d75ab87022
children e41c470ae8b5
files tools/python/xen/xend/XendBootloader.py
line diff
     1.1 --- a/tools/python/xen/xend/XendBootloader.py	Wed May 25 08:00:05 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendBootloader.py	Wed May 25 08:02:20 2005 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  # XendBootloader.py - Framework to run a boot loader for picking the kernel
     1.5  #
     1.6  # Copyright 2005 Red Hat, Inc.
     1.7 -# Jeremy Katz <katzj@xxxxxxxxxx>
     1.8 +# Jeremy Katz <katzj@redhat.com>
     1.9  #
    1.10  # This software may be freely redistributed under the terms of the GNU
    1.11  # general public license.
    1.12 @@ -12,7 +12,7 @@
    1.13  # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1.14  #
    1.15  
    1.16 -import os, sys, select
    1.17 +import os, sys, select, errno
    1.18  import sxp
    1.19  
    1.20  from XendLogging import log
    1.21 @@ -61,7 +61,7 @@ def bootloader(blexec, disk, quiet = 0, 
    1.22          try:
    1.23              r = os.open(BL_FIFO, os.O_RDONLY)
    1.24          except OSError, e:
    1.25 -            if e.errno == 4:
    1.26 +            if e.errno == errno.EINTR:
    1.27                  continue
    1.28          break
    1.29      ret = ""