From 8a544fa316cc3f415c2e5696b2de94d8d790a7b7 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Thu, 30 Jan 2014 11:09:13 -0500 Subject: [PATCH] gfxdetails: Really fix pylint --- virtManager/gfxdetails.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/virtManager/gfxdetails.py b/virtManager/gfxdetails.py index 28ca332d..ca500120 100644 --- a/virtManager/gfxdetails.py +++ b/virtManager/gfxdetails.py @@ -165,8 +165,6 @@ class vmmGraphicsDetails(vmmGObjectUI): is_vnc = (gtype == "vnc") is_sdl = (gtype == "sdl") is_spice = (gtype == "spice") - is_other = not (True in [is_vnc, is_sdl, is_spice]) - title = (_("%(graphicstype)s Server") % {"graphicstype" : gfx.pretty_type_simple(gtype)}) @@ -183,8 +181,6 @@ class vmmGraphicsDetails(vmmGObjectUI): self.widget("graphics-password-chk").set_active(use_passwd) self.widget("graphics-password").set_sensitive(use_passwd) - settype = gtype - if is_spice: set_port("graphics-tlsport", gfx.tlsPort) @@ -196,9 +192,6 @@ class vmmGraphicsDetails(vmmGObjectUI): self.widget("graphics-xauth").set_text( gfx.xauth or _("Unknown")) - if is_other: - settype = gfx.pretty_type_simple(gtype) - uiutil.set_combo_entry(self.widget("graphics-type"), gtype, 0) return title