ia64/xen-unstable

changeset 7206:b4c388a004c0

Fix xm restore broken by missing return statement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@ewan
date Tue Oct 04 15:57:12 2005 +0100 (2005-10-04)
parents 540d17fe32ce
children 81246a2923d2
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Tue Oct 04 15:34:02 2005 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Tue Oct 04 15:57:12 2005 +0100
     1.3 @@ -248,7 +248,7 @@ class XendDomain:
     1.4          """Restore a domain from the given file descriptor."""
     1.5  
     1.6          try:
     1.7 -            XendCheckpoint.restore(self, fd)
     1.8 +            return XendCheckpoint.restore(self, fd)
     1.9          except Exception, ex:
    1.10              log.exception("Restore failed")
    1.11              raise