[gnome-music/wip/jfelder/musicbrainz-coverart: 1/3] grilo: Fix import modules order
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/musicbrainz-coverart: 1/3] grilo: Fix import modules order
- Date: Tue, 2 Apr 2019 09:38:45 +0000 (UTC)
commit 082f256936c2630624830c71703115338389224e
Author: Jean Felder <jfelder src gnome org>
Date: Wed Aug 1 09:41:58 2018 +0200
grilo: Fix import modules order
gnomemusic/grilo.py | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 0a81f641..6f91c0b9 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -25,20 +25,24 @@
# code, but you are not obligated to do so. If you do not wish to do so,
# delete this exception statement from your version.
+import logging
+import os
+
import gi
gi.require_version('Grl', '0.3')
-from gi.repository import GLib, GObject
-from gnomemusic.query import Query
+from gi.repository import GLib, GObject, Grl
+
from gnomemusic import log
+from gnomemusic.query import Query
from gnomemusic.trackerwrapper import TrackerWrapper
-import logging
-import os
+
+
os.environ['GRL_PLUGIN_RANKS'] = ("grl-local-metadata:5,"
"grl-filesystem:4,"
"grl-tracker-source:3,"
"grl-lastfm-cover:2,"
"grl-theaudiodb-cover:1")
-from gi.repository import Grl
+
logger = logging.getLogger(__name__)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]