1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-31 04:55:52 +01:00

Refactor wnettools/backend code so that most external tool functionality exists in wnettools, and it just inherited by the external backends. This simplifies creating new backends that just override selected methods.

Rewrite encryption template parsing code to allow blank entries (though the GUI still doesn't), and be more permissive of slightly incorrect formatting.
Fix bug in wicd-monitor error handling code.
This commit is contained in:
Dan O'Reilly
2009-02-17 23:29:14 -05:00
parent 7e18194c29
commit a62840dd96
7 changed files with 427 additions and 483 deletions

View File

@@ -152,7 +152,7 @@ class Controller(object):
self.disconnect_script = None
self.driver = None
self.iface = None
self.backend_manager = BackendManager()
self.backend_manager = BackendManager()
def get_debug(self): return self._debug
def set_debug(self, value):
@@ -226,7 +226,7 @@ class Controller(object):
self.iface.dhcp_object = None
def IsUp(self):
""" Calls the IsUp method for the wired interface.
""" Calls the IsUp method for the wired interface.
Returns:
True if the interface is up, False otherwise.
@@ -999,3 +999,4 @@ class WiredConnectThread(ConnectThread):
self.connect_result = "Success"
self.is_connecting = False