backend/server/rhnChannel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0bcf3672c1a4fd995b8bcec6fe12ea3b91eda1f8
Author: Pradeep Kilambi <pkilambi(a)redhat.com>
Date: Fri Jul 31 13:05:49 2009 -0400
467281 - Instead of checksing for the start now we cechk if tools is in the channel
label. This is not a perfect solution but atleast covers few more cases. An ideal solution
would be to add some kind of a relation ship between parent and child signifying that this
is a tools channel for a given parent.
diff --git a/backend/server/rhnChannel.py b/backend/server/rhnChannel.py
index e0a28f2..926402c 100644
--- a/backend/server/rhnChannel.py
+++ b/backend/server/rhnChannel.py
@@ -2402,7 +2402,7 @@ def subscribe_to_tools_channel(server_id):
tools_channel = None
for channel in child_channels:
if channel.has_key('label'):
- if channel['label'].find('rhn-tools') == 0:
+ if 'rhn-tools' in channel['label']:
tools_channel = channel
if tools_channel is None:
Show replies by date