From c2caf04c5e01932ea3fafa2cec10fbcd25e81c32 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Fri, 28 Aug 2015 12:54:18 -0400 Subject: [PATCH] fix ambiguous buildroot_id column ref --- hub/kojihub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/kojihub.py b/hub/kojihub.py index 4a6ef2bd..331b0619 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -4128,7 +4128,7 @@ def query_buildroots(hostID=None, tagID=None, state=None, rpmID=None, archiveID= ('repo_create.id', 'repo_create_event_id'), ('repo_create.time', 'repo_create_event_time')] tables = ['buildroot'] - joins=['LEFT OUTER JOIN standard_buildroot ON buildroot_id = buildroot.id', + joins=['LEFT OUTER JOIN standard_buildroot ON standard_buildroot.buildroot_id = buildroot.id', 'LEFT OUTER JOIN host ON host.id = standard_buildroot.host_id', 'LEFT OUTER JOIN repo ON repo.id = standard_buildroot.repo_id', 'tag ON tag.id = repo.tag_id',