[PATCH] Fix get_graphics()

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

 



# HG changeset patch
# User john.levon@xxxxxxx
# 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@xxxxxxx>

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):

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux