diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 01:48:03 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 01:48:03 (GMT) |
commit | a1b6625a6a05b1aa8e005420a2a783365827979e (patch) | |
tree | 4af84c19ac32fb574fcf733dce80f669a5384da8 /shell/view | |
parent | 05379e85c1ee8b2435739582e60c193f4b3cce92 (diff) |
Fix some style nitpicks
Diffstat (limited to 'shell/view')
-rw-r--r-- | shell/view/devices/battery.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/view/devices/battery.py b/shell/view/devices/battery.py index 1628850..a4bb0bb 100644 --- a/shell/view/devices/battery.py +++ b/shell/view/devices/battery.py @@ -66,7 +66,7 @@ class BatteryPalette(Palette): def update_progress_bar(self, percent): self._level = percent - fraction = float(percent/100.0) + fraction = percent / 100.0 self._progress_bar.set_fraction(fraction) def update_charge_status(self, charging, discharging): |