I may finally have squished the most obvious bugs.

This commit is contained in:
Jeremy Fincher 2004-04-09 15:43:51 +00:00
parent 09f54f0a43
commit 0194abff28

View File

@ -120,8 +120,8 @@ class RSS(callbacks.Privmsg):
else: else:
url = name url = name
if self.willGetNewFeed(url): if self.willGetNewFeed(url):
newFeeds.setdefault(url, []).append(channel) newFeeds.setdefault((url, name), []).append(channel)
for (url, channels) in newFeeds.iteritems(): for ((url, name), channels) in newFeeds.iteritems():
# We check if we can acquire the lock right here because if we # We check if we can acquire the lock right here because if we
# don't, we'll possibly end up spawning a lot of threads to get # don't, we'll possibly end up spawning a lot of threads to get
# the feed, because this thread may run for a number of bytecodes # the feed, because this thread may run for a number of bytecodes