aboutsummaryrefslogtreecommitdiff
path: root/src/ppm/modemproxy.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2011-12-26 19:12:11 +0100
committerGuido Günther <agx@sigxcpu.org>2011-12-27 11:19:47 +0100
commit1448c4de0cdebfe68f538da2ea28b81a564e86f5 (patch)
tree5a85f11d4ea59f4926e0eeff4d51d88852ccd539 /src/ppm/modemproxy.py
parent08274f34113d87940e949a1a77f9c51e16c70847 (diff)
Remove trailing whitespace
Diffstat (limited to 'src/ppm/modemproxy.py')
-rw-r--r--src/ppm/modemproxy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ppm/modemproxy.py b/src/ppm/modemproxy.py
index fddea25..7ac8fa7 100644
--- a/src/ppm/modemproxy.py
+++ b/src/ppm/modemproxy.py
@@ -27,7 +27,7 @@ class ModemError(Exception):
def is_forbidden(self):
return [False, True][self.msg.find("Operation not allowed") != -1]
-
+
def is_disabled(self):
return [False, True][self.msg.find("not enabled") != -1]
@@ -47,7 +47,7 @@ class ModemManagerProxy(GObject.GObject):
MM_DBUS_INTERFACE_MODEM_GSM_CARD='org.freedesktop.ModemManager.Modem.Gsm.Card'
MM_DBUS_INTERFACE_MODEM_GSM_USSD='org.freedesktop.ModemManager.Modem.Gsm.Ussd'
MM_DBUS_TIMEOUT = 5000
-
+
__gsignals__ = {
# Emitted when a request to MM starts
'request-started': (GObject.SignalFlags.RUN_FIRST, None,
@@ -110,7 +110,7 @@ class ModemManagerProxy(GObject.GObject):
if self.error_func:
me = ModemError("%s failed: %s" % (self.request, err))
self.error_func(me)
-
+
def get_modems(self):
modems = []
mm = Gio.DBusProxy.new_sync(self.bus,