1
0
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:
imdano
2008-01-25 14:12:32 +00:00
parent f6d480d89b
commit 6599b7ce0a
5 changed files with 159 additions and 119 deletions

View File

@@ -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