backend/satellite_tools/spacewalk-remove-channel | 1 - 1 file changed, 1 deletion(-)
New commits: commit 220bb740f47ed96b51dd65a6434e86be1f0a9661 Author: Simon Lukasik slukasik@redhat.com Date: Tue Aug 2 15:59:59 2011 +0200
673694 - process also child channels of custom channels
The comparison if org_id is null might be an option, when checking for Red Hat channels. However, given the outer join, base custom channels were revealed anyway.
diff --git a/backend/satellite_tools/spacewalk-remove-channel b/backend/satellite_tools/spacewalk-remove-channel index 69f9605..a7d53cb 100755 --- a/backend/satellite_tools/spacewalk-remove-channel +++ b/backend/satellite_tools/spacewalk-remove-channel @@ -268,7 +268,6 @@ def __listChannels(): sql = """ select c1.label, c2.label parent_channel from rhnChannel c1 left outer join rhnChannel c2 on c1.parent_channel = c2.id - where C1.org_id is null or C2.org_id is null order by c2.label desc, c1.label asc """ h = rhnSQL.prepare(sql)