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
1 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,8 @@ class RSS(callbacks.Privmsg):
else:
url = name
if self.willGetNewFeed(url):
newFeeds.setdefault(url, []).append(channel)
for (url, channels) in newFeeds.iteritems():
newFeeds.setdefault((url, name), []).append(channel)
for ((url, name), channels) in newFeeds.iteritems():
# 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
# the feed, because this thread may run for a number of bytecodes