summaryrefslogtreecommitdiff
path: root/buildstream/_ostree.py
diff options
context:
space:
mode:
authorJames Ennis <james.ennis@codethink.com>2018-02-14 17:26:27 +0000
committerJames Ennis <james.ennis@codethink.com>2018-03-14 17:31:06 +0000
commit9b4f54e1f8f1d064faaa51a5f480cb890892fb54 (patch)
treedfda24e235f26161cdb2a157117e06ec7ecd1ef6 /buildstream/_ostree.py
parentb11b48eadd3052d7e209ae7be8c513ca128099e3 (diff)
downloadbuildstream-9b4f54e1f8f1d064faaa51a5f480cb890892fb54.tar.gz
pylint - dealt with import warnings
Diffstat (limited to 'buildstream/_ostree.py')
-rw-r--r--buildstream/_ostree.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/buildstream/_ostree.py b/buildstream/_ostree.py
index 7d0d687a3..a1f01aa96 100644
--- a/buildstream/_ostree.py
+++ b/buildstream/_ostree.py
@@ -27,12 +27,15 @@
# pylint: disable=bad-exception-context,catching-non-exception
import os
-from ._exceptions import BstError, ErrorDomain
import gi
+from gi.repository.GLib import Variant, VariantDict
+
+from ._exceptions import BstError, ErrorDomain
+
+# pylint: disable=wrong-import-position,wrong-import-order
gi.require_version('OSTree', '1.0')
from gi.repository import GLib, Gio, OSTree # nopep8
-from gi.repository.GLib import Variant, VariantDict # nopep8
# For users of this file, they must expect (except) it.