Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/xopower.py
diff options
context:
space:
mode:
authorJames Simmons <jim@olpc2.simmons>2010-03-06 15:49:15 (GMT)
committer James Simmons <jim@olpc2.simmons>2010-03-06 15:49:15 (GMT)
commitec1b8d2ddeb67a8513cfefc39e441a3490968c61 (patch)
tree5a2b781582dc95460f1062c02e2d86665e9f3495 /xopower.py
parent11c41c78dda80fa6ecb1a2ca4601c46cf19bf85c (diff)
Fix bugs found by pychecker
Diffstat (limited to 'xopower.py')
-rw-r--r--xopower.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xopower.py b/xopower.py
index a191015..b24f8b0 100644
--- a/xopower.py
+++ b/xopower.py
@@ -67,7 +67,7 @@ def reset_sleep_timer():
gobject.source_remove(_idle_timer)
_idle_timer = gobject.timeout_add(5000, _suspend)
-def _suspend():
+def suspend():
# If the machine has been idle for 5 seconds, suspend
global _idle_timer
global _service