builder: fix error logging to accept more types

This commit is contained in:
Tomas Kopecek 2020-10-21 17:01:15 +02:00
parent 846a903d2b
commit 309c4e0a62

View file

@ -119,7 +119,7 @@ class Task(object):
('task.weight', 'weight'))
def __init__(self, id):
self.id = id
self.id = int(id)
self.logger = logging.getLogger("koji.hub.Task")
def _split_fields(self, fields=None):