|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] pyGrub: Implement error handling on kernel/initr
Michal Novotny writes ("[Xen-devel] [PATCH] pyGrub: Implement error handling on
kernel/initrd extraction"):
> Since we agreed that introduction of dom0-min-space is not the right way
> to go, it's superseeded by this patch.
...
> - os.write(tfd, data)
> - os.close(tfd)
> + try:
> + os.write(tfd, data)
> + os.close(tfd)
> + except OSError, e:
> + print >>sys.stderr, "pyGrub: %s" % str(e)
> + sys.exit(1)
Thanks, but this is not even slightly correct.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|