From e879bc7f814a5682a3b930cdf754b7ca007ff913 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Sat, 16 Jul 2016 23:10:17 -0400 Subject: [PATCH] Key off the build tag here... .. and we want to map it back to the main tag. --- rida/scheduler/handlers/repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rida/scheduler/handlers/repos.py b/rida/scheduler/handlers/repos.py index e6af1d0e..052dbb04 100644 --- a/rida/scheduler/handlers/repos.py +++ b/rida/scheduler/handlers/repos.py @@ -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: