Fix xm restore broken by missing return statement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@ewan committed 2005-10-04 15:57:12 +01:00
1 parent 1872f40d78
commit a4986d8ff8
1 file changed
+1 -1
+1 -1
View File
@@ -248,7 +248,7 @@ class XendDomain:
"""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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.