return buildinfo from cg_import
This commit is contained in:
parent
654434f66a
commit
780a2bb905
1 changed files with 3 additions and 1 deletions
|
|
@ -4697,7 +4697,7 @@ def cg_import(metadata, directory):
|
|||
"""
|
||||
|
||||
importer = CG_Importer()
|
||||
importer.do_import(metadata, directory)
|
||||
return importer.do_import(metadata, directory)
|
||||
|
||||
|
||||
class CG_Importer(object):
|
||||
|
|
@ -4738,6 +4738,8 @@ class CG_Importer(object):
|
|||
koji.plugin.run_callbacks('postImport', type='cg', metadata=metadata,
|
||||
directory=directory, buildinfo=self.buildinfo)
|
||||
|
||||
return self.buildinfo
|
||||
|
||||
|
||||
def get_metadata(self, metadata, directory):
|
||||
"""Get the metadata from the args"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue