Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/model/network.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/model/network.py')
-rw-r--r--src/jarabe/model/network.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/jarabe/model/network.py b/src/jarabe/model/network.py
index e55322b..f265ae4 100644
--- a/src/jarabe/model/network.py
+++ b/src/jarabe/model/network.py
@@ -535,17 +535,6 @@ class NMSettings(dbus.service.Object):
self.connections.pop(uuid)
-class DummyNMSettings(object):
- """
- Dummy object used when we don't own the NetworkManager user settings.
- """
-
- connections = {}
-
- def clear_wifi_connections(self):
- logging.debug('DummyNMSettings.clear_wifi_connections called')
-
-
class SecretsResponse(object):
"""Intermediate object to report the secrets from the dialog
back to the connection object and which will inform NM
@@ -826,8 +815,6 @@ def get_settings():
_nm_settings = NMSettings()
except dbus.DBusException:
logging.exception('Cannot create the UserSettings service.')
- _nm_settings = DummyNMSettings()
-
load_connections()
return _nm_settings