Update from upstream #11

Closed
soksanichenko wants to merge 158 commits from a8_updated into a8
1 changed files with 2 additions and 5 deletions
Showing only changes of commit 54209f3643 - Show all commits

View File

@ -200,16 +200,13 @@ class PkgsetSourceKojiMock(pungi.phases.pkgset.source.PkgsetSourceBase):
def __call__(self):
compose = self.compose
koji_profile = compose.conf["koji_profile"]
self.koji_wrapper = pungi.wrappers.kojiwrapper.KojiMockWrapper(
koji_profile
)
self.koji_wrapper = pungi.wrappers.kojiwrapper.KojiMockWrapper(compose)
# path prefix must contain trailing '/'
path_prefix = self.koji_wrapper.koji_module.config.topdir.rstrip("/") + "/"
package_sets = get_pkgset_from_koji(
self.compose, self.koji_wrapper, path_prefix
)
return (package_sets, path_prefix)
return package_sets, path_prefix
def get_pkgset_from_koji(compose, koji_wrapper, path_prefix):