MBSResolver: local modules can't be metadata-only

A module added with --add-local-build  can't have koji_tag=None, since
koji_tag is set to the directory where the module is.
This commit is contained in:
Owen W. Taylor
2020-11-20 15:55:34 -05:00
parent 7d6c7876b1
commit 70ed42885e

View File

@@ -378,10 +378,6 @@ class MBSResolver(KojiResolver):
self.db_session, name, details["stream"])
if local_modules:
for m in local_modules:
# If the buildrequire is a meta-data only module with no Koji tag set, then just
# skip it
if m.koji_tag is None:
continue
module_tags[m.koji_tag] = m.mmd()
continue