Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/extensions/deviceicon/battery.py
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-16 17:16:22 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-10-22 17:26:47 (GMT)
commit01e9787540c14d286b7c932b21812d8afddc2892 (patch)
tree6bf9db4718a32d539e5872f3120a501ded422b77 /extensions/deviceicon/battery.py
parent174bb8fde0d65cca3d340724b41de48a64e1c729 (diff)
PEP8 cleanup: ensure lines are shorter than 80 characters
This is important for Sugar because the XO has a small screen where long lines would make the code hard to understand (because you need to constantly scroll horizontally).
Diffstat (limited to 'extensions/deviceicon/battery.py')
-rw-r--r--extensions/deviceicon/battery.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/deviceicon/battery.py b/extensions/deviceicon/battery.py
index e947ccc..85ceb8f 100644
--- a/extensions/deviceicon/battery.py
+++ b/extensions/deviceicon/battery.py
@@ -93,7 +93,8 @@ class DeviceView(TrayIcon):
else:
status = _STATUS_FULLY_CHARGED
- self.icon.props.icon_name = get_icon_state(name, current_level, step=-5)
+ self.icon.props.icon_name = get_icon_state(name, current_level,
+ step=-5)
self.icon.props.xo_color = xo_color
self.icon.props.badge_name = badge_name