[meld] sourceview: PEP8
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] sourceview: PEP8
- Date: Fri, 9 Oct 2015 21:17:57 +0000 (UTC)
commit 3056897abdf67fb8d9a486f2f1cbc4b30dfbc65d
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Oct 10 07:17:06 2015 +1000
sourceview: PEP8
meld/sourceview.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/meld/sourceview.py b/meld/sourceview.py
index 9f49ed1..9a799fa 100644
--- a/meld/sourceview.py
+++ b/meld/sourceview.py
@@ -232,7 +232,8 @@ class MeldSourceView(GtkSource.View):
new_anim_chunks = []
for c in self.animating_chunks:
current_time = GLib.get_monotonic_time()
- percent = min(1.0, (current_time - c.start_time) / float(c.duration))
+ percent = min(
+ 1.0, (current_time - c.start_time) / float(c.duration))
rgba_pairs = zip(c.start_rgba, c.end_rgba)
rgba = [s + (e - s) * percent for s, e in rgba_pairs]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]