Add a shutdownWatch field in the HVMImageHandler constructor, to avoid error

messages if creation fails and the watch gets torn down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-11-08 12:25:56 +00:00
1 parent 3756da027a
commit 6037d8bec8
1 file changed
+5
+5
View File
@@ -248,6 +248,11 @@ class PPC_LinuxImageHandler(LinuxImageHandler):
class HVMImageHandler(ImageHandler):
def __init__(self, vm, imageConfig, deviceConfig):
ImageHandler.__init__(self, vm, imageConfig, deviceConfig)
self.shutdownWatch = None
def configure(self, imageConfig, deviceConfig):
ImageHandler.configure(self, imageConfig, deviceConfig)
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.