Fix some pylint.

This commit is contained in:
Cole Robinson 2008-11-03 15:15:11 -05:00
parent a40e69b192
commit 20d5d3bcfc
4 changed files with 5 additions and 4 deletions

View File

@ -24,7 +24,8 @@ import gnome
import gtk.gdk
import libvirt
from virtManager.keyring import *
from virtManager.keyring import vmmKeyring
from virtManager.secret import vmmSecret
CONSOLE_POPUP_NEVER = 0
CONSOLE_POPUP_NEW_ONLY = 1

View File

@ -55,7 +55,7 @@ class vmmErrorDialog (gtk.MessageDialog):
details.show ()
expander.add (sw)
sw.show ()
self.vbox.pack_start (expander)
self.pack_start (expander)
expander.show ()
def show_err(self, summary, details, title=None):

View File

@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
# MA 02110-1301 USA.
#
from virtManager.secret import *
from virtManager.secret import vmmSecret
import sys
import logging

View File

@ -52,7 +52,7 @@ class vmmNetwork(gobject.GObject):
return self._xml
def _update_xml(self):
self._xml = self.new.XMLDesc(0)
self._xml = self.net.XMLDesc(0)
def is_active(self):
return self.active