Key off the build tag here...

.. and we want to map it back to the main tag.
This commit is contained in:
Ralph Bean
2016-07-16 23:10:17 -04:00
parent 7dc2d1ad42
commit e879bc7f81

View File

@@ -36,7 +36,7 @@ def done(config, session, msg):
""" Called whenever koji rebuilds a repo, any repo. """
# First, find our ModuleBuild associated with this repo, if any.
tag = msg['msg']['tag']
tag = msg['msg']['tag'].strip('-build')
module_build = rida.database.ModuleBuild.get_active_by_koji_tag(
session, koji_tag=tag)
if not module_build: