mirror of
https://github.com/gryf/wicd.git
synced 2025-12-22 22:27:59 +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:
@@ -1,5 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
""" Suspends the wicd daemon.
|
||||
|
||||
Sets a flag in the daemon that will stop it from monitoring networkg status.
|
||||
Used for when a laptop enters hibernation/suspension. """
|
||||
|
||||
#
|
||||
# Copyright (C) 2007 Adam Blackburn
|
||||
# Copyright (C) 2007 Dan O'Reilly
|
||||
@@ -17,7 +22,6 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
import os
|
||||
import dbus
|
||||
import dbus.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user