Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Prettify imports in qubesdbus/labels.py
Browse files Browse the repository at this point in the history
- isort
- remove DbusServiceObject
- fix gi imports
  • Loading branch information
kalkin committed Jun 22, 2017
1 parent e964fc1 commit 147cc67
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions qubesdbus/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit 147cc67

Please sign in to comment.