[pitivi] Fix pylint import-error
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Fix pylint import-error
- Date: Mon, 11 Nov 2019 22:08:31 +0000 (UTC)
commit 26b78fced57599b43a05fae31f729dd80d6d94e1
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Mon Nov 4 01:46:56 2019 +0100
Fix pylint import-error
plugins/console/console.py | 4 ++--
plugins/console/consolebuffer.py | 7 ++++---
plugins/console/widgets.py | 3 ++-
3 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/plugins/console/console.py b/plugins/console/console.py
index d22af578..d7891694 100644
--- a/plugins/console/console.py
+++ b/plugins/console/console.py
@@ -26,10 +26,10 @@ from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Pango
from gi.repository import Peas
-from utils import Namespace
-from widgets import ConsoleWidget
from pitivi.dialogs.prefs import PreferencesDialog
+from plugins.console.utils import Namespace
+from plugins.console.widgets import ConsoleWidget
class PitiviNamespace(Namespace):
diff --git a/plugins/console/consolebuffer.py b/plugins/console/consolebuffer.py
index 7a0f8564..be8a4c12 100644
--- a/plugins/console/consolebuffer.py
+++ b/plugins/console/consolebuffer.py
@@ -27,9 +27,10 @@ import sys
from gi.repository import GObject
from gi.repository import Gtk
-from utils import display_autocompletion
-from utils import FakeOut
-from utils import swap_std
+
+from plugins.console.utils import display_autocompletion
+from plugins.console.utils import FakeOut
+from plugins.console.utils import swap_std
class ConsoleHistory(GObject.Object):
diff --git a/plugins/console/widgets.py b/plugins/console/widgets.py
index 7e3c4a28..a5450b8c 100644
--- a/plugins/console/widgets.py
+++ b/plugins/console/widgets.py
@@ -17,13 +17,14 @@
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301, USA.
"""The developer console widget."""
-from consolebuffer import ConsoleBuffer
from gi.repository import Gdk
from gi.repository import GLib
from gi.repository import GObject
from gi.repository import Gtk
from gi.repository import Pango
+from plugins.console.consolebuffer import ConsoleBuffer
+
class ConsoleView(Gtk.TextView):
"""A TextView which removes tags from pasted text."""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]