builder: fix error logging to accept more types
This commit is contained in:
parent
846a903d2b
commit
309c4e0a62
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue