Fix some pylint.
This commit is contained in:
parent
a40e69b192
commit
20d5d3bcfc
|
@ -24,7 +24,8 @@ import gnome
|
||||||
import gtk.gdk
|
import gtk.gdk
|
||||||
import libvirt
|
import libvirt
|
||||||
|
|
||||||
from virtManager.keyring import *
|
from virtManager.keyring import vmmKeyring
|
||||||
|
from virtManager.secret import vmmSecret
|
||||||
|
|
||||||
CONSOLE_POPUP_NEVER = 0
|
CONSOLE_POPUP_NEVER = 0
|
||||||
CONSOLE_POPUP_NEW_ONLY = 1
|
CONSOLE_POPUP_NEW_ONLY = 1
|
||||||
|
|
|
@ -55,7 +55,7 @@ class vmmErrorDialog (gtk.MessageDialog):
|
||||||
details.show ()
|
details.show ()
|
||||||
expander.add (sw)
|
expander.add (sw)
|
||||||
sw.show ()
|
sw.show ()
|
||||||
self.vbox.pack_start (expander)
|
self.pack_start (expander)
|
||||||
expander.show ()
|
expander.show ()
|
||||||
|
|
||||||
def show_err(self, summary, details, title=None):
|
def show_err(self, summary, details, title=None):
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
# MA 02110-1301 USA.
|
# MA 02110-1301 USA.
|
||||||
#
|
#
|
||||||
from virtManager.secret import *
|
from virtManager.secret import vmmSecret
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -52,7 +52,7 @@ class vmmNetwork(gobject.GObject):
|
||||||
return self._xml
|
return self._xml
|
||||||
|
|
||||||
def _update_xml(self):
|
def _update_xml(self):
|
||||||
self._xml = self.new.XMLDesc(0)
|
self._xml = self.net.XMLDesc(0)
|
||||||
|
|
||||||
def is_active(self):
|
def is_active(self):
|
||||||
return self.active
|
return self.active
|
||||||
|
|
Loading…
Reference in New Issue