1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

Refactored several files (especially gui.py) to be more in line with python conventions and make the code easier to understand.

Added a bunch of docstrings.
Fixed an invalid function call in wnettools.py.
This commit is contained in:
imdano
2008-01-25 14:11:59 +00:00
parent c09b49dd6c
commit f6d480d89b

View File

@@ -41,13 +41,11 @@ class WiredConnectThread() -- Connection thread for wired
#
import re
import sys
import threading
import thread
import misc
import wnettools
import wpath
import os
import time
if __name__ == '__main__':
@@ -114,6 +112,7 @@ class ConnectThread(threading.Thread):
self.global_dns_2 = gdns2
self.global_dns_3 = gdns3
self.connecting_message = None
self.debug = debug
self.SetStatus('interface_down')