[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix xm restore broken by missing return statement.



# HG changeset patch
# User emellor@ewan
# Node ID b4c388a004c0753f5138f957388cf6ce53cdfc12
# Parent  540d17fe32cedf404f3b2b4922797a814b5f3816
Fix xm restore broken by missing return statement.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 540d17fe32ce -r b4c388a004c0 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Tue Oct  4 14:34:02 2005
+++ b/tools/python/xen/xend/XendDomain.py       Tue Oct  4 14:57:12 2005
@@ -248,7 +248,7 @@
         """Restore a domain from the given file descriptor."""
 
         try:
-            XendCheckpoint.restore(self, fd)
+            return XendCheckpoint.restore(self, fd)
         except Exception, ex:
             log.exception("Restore failed")
             raise

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.