[pitivi] Minor cleanups



commit 83be4be4a68cbb5c1d7aff57d9061deb9d90b6b0
Author: Thibault Saunier <tsaunier gnome org>
Date:   Tue Jun 16 11:01:13 2015 +0200

    Minor cleanups

 pitivi/effects.py           |    6 +++---
 pitivi/timeline/elements.py |    3 ---
 pitivi/utils/pipeline.py    |    1 -
 3 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/pitivi/effects.py b/pitivi/effects.py
index ef512d0..3cbd78f 100644
--- a/pitivi/effects.py
+++ b/pitivi/effects.py
@@ -144,7 +144,7 @@ class EffectFactory(object):
     Factories that applies an effect on a stream
     """
     def __init__(self, effect_name, media_type, categories,
-                human_name, description):
+                 human_name, description):
         object.__init__(self)
         self.effect_name = effect_name
         self.media_type = media_type
@@ -177,8 +177,8 @@ class EffectsManager(object):
             klass = element_factory.get_klass()
             name = element_factory.get_name()
 
-            if ("Effect" in klass and name not in BLACKLISTED_EFFECTS
-               and not [bplug for bplug in BLACKLISTED_PLUGINS if bplug in name]):
+            if ("Effect" in klass and name not in BLACKLISTED_EFFECTS and not
+                    [bplug for bplug in BLACKLISTED_PLUGINS if bplug in name]):
                 media_type = None
 
                 if "Audio" in klass:
diff --git a/pitivi/timeline/elements.py b/pitivi/timeline/elements.py
index deb90e4..6b922e7 100644
--- a/pitivi/timeline/elements.py
+++ b/pitivi/timeline/elements.py
@@ -690,9 +690,6 @@ class Clip(Gtk.EventBox, timelineUtils.Zoomable, Loggable):
 
         self.timeline.selection.setSelection(selection, mode)
 
-        # if self.keyframedElement:
-        #    self.showKeyframes(self.keyframedElement, self.prop)
-
         return False
 
     def _connectWidgetSignals(self):
diff --git a/pitivi/utils/pipeline.py b/pitivi/utils/pipeline.py
index c4c2df5..d95d051 100644
--- a/pitivi/utils/pipeline.py
+++ b/pitivi/utils/pipeline.py
@@ -25,7 +25,6 @@
 High-level pipelines
 """
 import os
-import platform
 
 
 from gi.repository import GLib


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]