Pass the module build into builder

This commit is contained in:
Jakub Kadlčík
2017-04-12 22:52:45 +02:00
parent 65950304ca
commit b78b0346d2
7 changed files with 17 additions and 11 deletions

View File

@@ -61,12 +61,12 @@ class KojiModuleBuilder(GenericBuilder):
def __init__(self, owner, module, config, tag_name, components):
"""
:param owner: a string representing who kicked off the builds
:param module: string representing module
:param module: module_build_service.models.ModuleBuild instance.
:param config: module_build_service.config.Config instance
:param tag_name: name of tag for given module
"""
self.owner = owner
self.module_str = module
self.module_str = module.name
self.config = config
self.tag_name = tag_name
self.__prep = False