From 147cc676fbdecf2196150f410ad9279acd876555 Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Wed, 21 Jun 2017 11:40:18 +0200 Subject: [PATCH] Prettify imports in qubesdbus/labels.py - isort - remove DbusServiceObject - fix gi imports --- qubesdbus/labels.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qubesdbus/labels.py b/qubesdbus/labels.py index 718b219..5fc63f3 100644 --- a/qubesdbus/labels.py +++ b/qubesdbus/labels.py @@ -22,13 +22,15 @@ import logging import sys -import qubesadmin -from gi.repository import GLib from systemd.journal import JournalHandler +import qubesadmin import qubesdbus.serialize -from qubesdbus.service import (DbusServiceObject, ObjectManager, - PropertiesObject) +from qubesdbus.service import ObjectManager, PropertiesObject + +import gi # isort:skip +gi.require_version('Gtk', '3.0') # isort:skip +from gi.repository import GLib # isort:skip pylint:disable=wrong-import-position log = logging.getLogger('org.qubes.Labels1') log.addHandler(JournalHandler(SYSLOG_IDENTIFIER='qubesdbus.labels'))