This makes channelSpecific *much* more useful, aka not broken. Closes Bug #1100919

This commit is contained in:
James Vega 2005-01-12 19:26:32 +00:00
parent 59c4dab684
commit c6b50e75f0

View File

@ -805,9 +805,9 @@ class ChannelSpecific(registry.Boolean):
return False
lchannel = channel
while hasLinkChannel(lchannel):
lchannel = get(channelSpecific.link, lchannel)
if lchannel not in channels:
channels.append(lchannel)
lchannel = get(channelSpecific.link, lchannel)
else:
# Found a cyclic link. We'll just use the current channel
lchannel = channel