Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2013-03-22 11:38:15 (GMT)
committer Walter Bender <walter.bender@gmail.com>2013-03-22 11:38:15 (GMT)
commit8afa8b02e4a6946a7bdcbecddd65e99e75fa10ac (patch)
tree378f986afa1f812c97b0cd8a90570ff595a8854b
parent5ff9f8167aeb7192e87c4fe8723379353446ad5b (diff)
clean up for style
-rw-r--r--TurtleArt/tautils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/TurtleArt/tautils.py b/TurtleArt/tautils.py
index 0bad48a..f8a60e8 100644
--- a/TurtleArt/tautils.py
+++ b/TurtleArt/tautils.py
@@ -806,11 +806,11 @@ def power_manager_off(status):
except gconf.GError:
pass
- _bus = dbus.SystemBus()
+ bus = dbus.SystemBus()
try:
- _proxy = _bus.get_object(OHM_SERVICE_NAME, OHM_SERVICE_PATH)
- _keystore = dbus.Interface(_proxy, OHM_SERVICE_IFACE)
- _keystore.SetKey('suspend.automatic_pm', bool(VALUE))
+ proxy = bus.get_object(OHM_SERVICE_NAME, OHM_SERVICE_PATH)
+ keystore = dbus.Interface(proxy, OHM_SERVICE_IFACE)
+ keystore.SetKey('suspend.automatic_pm', bool(VALUE))
except dbus.exceptions.DBusException:
if status:
try: