mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 17:29:45 +08:00
MBSResolver: fix a RuntimeError to not reference None
This commit is contained in:
@@ -368,7 +368,7 @@ class MBSResolver(KojiResolver):
|
||||
if not queried_mmd or "buildrequires" not in queried_mmd.get_xmd().get("mbs", {}):
|
||||
raise RuntimeError(
|
||||
'The module "{0!r}" did not contain its modulemd or did not have '
|
||||
"its xmd attribute filled out in MBS".format(queried_mmd)
|
||||
"its xmd attribute filled out in MBS".format(queried_module)
|
||||
)
|
||||
|
||||
buildrequires = queried_mmd.get_xmd()["mbs"]["buildrequires"]
|
||||
|
||||
Reference in New Issue
Block a user