plugin/hub: clean up imports

Remove an unused import and sort the imports properly.
Also silence the for the kojihub import.
This commit is contained in:
Christian Kellner 2020-09-11 13:04:02 +02:00 committed by Tom Gundersen
parent 899c2233c7
commit 0bf3c47113

View file

@ -1,14 +1,12 @@
"""Koji osbuild integration for Koji Hub""" """Koji osbuild integration for Koji Hub"""
import sys import sys
import jsonschema import jsonschema
import logging
import koji import koji
from koji.context import context from koji.context import context
sys.path.insert(0, "/usr/share/koji-hub/") sys.path.insert(0, "/usr/share/koji-hub/")
import kojihub import kojihub # pylint: disable=import-error, wrong-import-position
OSBUILD_IMAGE_SCHMEA = { OSBUILD_IMAGE_SCHMEA = {