FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 12-09-2008, 07:43 PM
 
Default Fix get_graphics()

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

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 12-09-2008, 08:40 PM
Cole Robinson
 
Default Fix get_graphics()

john.levon@sun.com wrote:
> # HG changeset patch
> # User john.levon@sun.com
> # Date 1228851589 28800
> # Node ID 3a48e2d3594b3e7e1d24147f3325ab6024557504
> # Parent 419fb59763dc86b8f6abf26e4fb7ba6f7ba54182
> Fix get_graphics()
>
> The key needs to be 'enabled' not 'enabled '.
>

Thanks, applied:

http://hg.et.redhat.com/virt/applications/virtinst--devel?cs=159018031462

- Cole

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

Thread Tools




All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org