further changes

This commit is contained in:
Tomas Kopecek 2022-11-21 11:06:33 +01:00
parent 95912eb314
commit 8902675489
14 changed files with 15 additions and 23 deletions

View file

@ -4,14 +4,11 @@
import random
import sys
import koji
from koji.context import context
from koji.plugin import export
# XXX - have to import kojihub for make_task
sys.path.insert(0, '/usr/share/koji-hub/')
import kojihub # noqa: E402
import kojihub
__all__ = ('runroot',)

View file

@ -1,10 +1,7 @@
import sys
import koji
from koji.context import context
from koji.plugin import export
sys.path.insert(0, '/usr/share/koji-hub/')
import kojihub # noqa: E402
import kojihub
__all__ = ('saveFailedTree',)

View file

@ -1,15 +1,13 @@
# Copyright © 2019 Red Hat, Inc.
#
# SPDX-License-Identifier: GPL-2.0-or-later
import sys
import koji
from koji.db import QueryProcessor, nextval
from koji.context import context
from koji.plugin import callback, export
import koji.policy
sys.path.insert(0, "/usr/share/koji-hub/")
from kojihub import ( # noqa: E402
from kojihub.kojihub import (
_create_build_target,
_create_tag,
_delete_build_target,