From 2536047b55f56c5927b037e4bc1e647a2c14f75b Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Wed, 16 Jun 2010 09:39:17 +0200 Subject: Bug fix line 234 of utils.py. append() replaced by extend() when searching for RSS/ATOM feeds. --- utils.py | 2 +- var/feed.lst | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utils.py b/utils.py index 38be53ef..e027f1dd 100755 --- a/utils.py +++ b/utils.py @@ -231,7 +231,7 @@ def search_feed(url): page = urllib2.urlopen(url) soup = BeautifulSoup(page) feed_links = soup('link', type='application/atom+xml') - feed_links.append(soup('link', type='application/rss+xml')) + feed_links.extend(soup('link', type='application/rss+xml')) for feed_link in feed_links: if url not in feed_link['href']: return urlparse.urljoin(url, feed_link['href']) diff --git a/var/feed.lst b/var/feed.lst index 29bb04e0..7ea9051f 100755 --- a/var/feed.lst +++ b/var/feed.lst @@ -24,4 +24,5 @@ http://www.jeffersonswheel.org/?feed=rss2 http://www.laquadrature.net/en/rss.xml http://static.fsf.org/fsforg/rss/blogs.xml http://esr.ibiblio.org/?feed=rss2 -http://www.maitre-eolas.fr/feed/atom \ No newline at end of file +http://www.maitre-eolas.fr/feed/atom +http://seclists.org/rss/fulldisclosure.rss -- cgit