[et-mgmt-tools] [PATCH] Fix get_graphics()
john.levon at sun.com
john.levon at sun.com
Tue Dec 9 20:43:38 UTC 2008
# HG changeset patch
# User john.levon at sun.com
# Date 1228851589 28800
# Node ID 3a48e2d3594b3e7e1d24147f3325ab6024557504
# Parent 419fb59763dc86b8f6abf26e4fb7ba6f7ba54182
Fix get_graphics()
The key needs to be 'enabled' not 'enabled '.
Signed-off-by: John Levon <john.levon at sun.com>
diff --git a/virtinst/Guest.py b/virtinst/Guest.py
--- a/virtinst/Guest.py
+++ b/virtinst/Guest.py
@@ -717,7 +717,7 @@ class Guest(object):
# Deprecated: Should set guest.graphics_dev = VirtualGraphics(...)
def get_graphics(self):
if self._graphics_dev is None:
- return { "enabled " : False }
+ return { "enabled" : False }
return { "enabled" : True, "type" : self._graphics_dev, \
"keymap" : self._graphics_dev.keymap}
def set_graphics(self, val):
More information about the et-mgmt-tools
mailing list