[pitivi] previewers: Format imports
- From: Alexandru Băluț <alexbalut src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] previewers: Format imports
- Date: Fri, 11 Nov 2016 18:08:22 +0000 (UTC)
commit f712679d7d261ca127656d7f20e6ac18ab40383a
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Mon Nov 7 08:35:37 2016 +0100
previewers: Format imports
Reviewed-by: Thibault Saunier <tsaunier gnome org>
Differential Revision: https://phabricator.freedesktop.org/D1451
pitivi/timeline/previewers.py | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/pitivi/timeline/previewers.py b/pitivi/timeline/previewers.py
index 5ce6285..23bf0ad 100644
--- a/pitivi/timeline/previewers.py
+++ b/pitivi/timeline/previewers.py
@@ -32,6 +32,19 @@ from gi.repository import GObject
from gi.repository import Gst
from gi.repository import Gtk
+from pitivi.settings import get_dir
+from pitivi.settings import xdg_cache_home
+from pitivi.utils.loggable import Loggable
+from pitivi.utils.misc import binary_search
+from pitivi.utils.misc import filename_from_uri
+from pitivi.utils.misc import get_proxy_target
+from pitivi.utils.misc import hash_file
+from pitivi.utils.misc import quantize
+from pitivi.utils.misc import quote_uri
+from pitivi.utils.system import CPUUsageTracker
+from pitivi.utils.timeline import Zoomable
+from pitivi.utils.ui import EXPANDED_SIZE
+
# Our C module optimizing waveforms rendering
try:
from . import renderer
@@ -39,15 +52,6 @@ except ImportError:
# Running uninstalled?
import renderer
-# pylint: disable=ungrouped-imports
-from pitivi.settings import get_dir, xdg_cache_home
-from pitivi.utils.loggable import Loggable
-from pitivi.utils.misc import binary_search, filename_from_uri, quantize
-from pitivi.utils.misc import quote_uri, hash_file, get_proxy_target
-from pitivi.utils.system import CPUUsageTracker
-from pitivi.utils.timeline import Zoomable
-from pitivi.utils.ui import EXPANDED_SIZE
-
WAVEFORMS_CPU_USAGE = 30
SAMPLE_DURATION = 10000000
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]