diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-01-30 21:33:42 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-01-30 21:33:42 +0100 |
commit | 226ad13b9324fdd5165a1158e310cebd0440aaf7 (patch) | |
tree | fc13e1613225e4e9037418a249e1c800d83de241 /src/Gui/CCDBusBackend.py | |
parent | d49543d341681d0ab24ba58f7316fe155472573e (diff) | |
download | abrt-226ad13b9324fdd5165a1158e310cebd0440aaf7.tar.gz abrt-226ad13b9324fdd5165a1158e310cebd0440aaf7.tar.xz abrt-226ad13b9324fdd5165a1158e310cebd0440aaf7.zip |
GUI: fixed some pylint warnings
Diffstat (limited to 'src/Gui/CCDBusBackend.py')
-rw-r--r-- | src/Gui/CCDBusBackend.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Gui/CCDBusBackend.py b/src/Gui/CCDBusBackend.py index 1ab0e3a8..d1572236 100644 --- a/src/Gui/CCDBusBackend.py +++ b/src/Gui/CCDBusBackend.py @@ -4,7 +4,6 @@ import gobject import dbus import dbus.service from dbus.mainloop.glib import DBusGMainLoop -import gtk from dbus.exceptions import * import ABRTExceptions from abrt_utils import _, log, log1, log2 @@ -35,7 +34,7 @@ class DBusManager(gobject.GObject): self.dbusmanager.emit("show") try: session = dbus.SessionBus() - except Exception, e: + except Exception: # probably run after "$ su" pass @@ -107,7 +106,7 @@ class DBusManager(gobject.GObject): # rc is either self.bus.START_REPLY_SUCCESS or self.bus.START_REPLY_ALREADY_RUNNING if rc == self.bus.START_REPLY_SUCCESS: # Better solution may be to have daemon emit a signal and wait for it - log1("dbus auto-started abrt daemon, giving it 1 sec to initialize"); + log1("dbus auto-started abrt daemon, giving it 1 sec to initialize") time.sleep(1) except DBusException: raise Exception("abrt daemon is not running, and DBus can't start it") @@ -200,7 +199,7 @@ class DBusManager(gobject.GObject): row_dict = {} for column in row: row_dict[column] = row[column] - rows.append(row_dict); + rows.append(row_dict) return rows def getPluginsInfo(self): |