fix indentation

This commit is contained in:
Tomasz Długosz 2013-03-05 00:02:56 +01:00
parent c8fe13195c
commit e0aac8018f
3 changed files with 3 additions and 5 deletions

View File

@ -43,6 +43,6 @@ class AntywebRecipe(BasicNewsRecipe):
def preprocess_html(self, soup):
for alink in soup.findAll('a'):
if alink.string is not None:
tstr = alink.string
alink.replaceWith(tstr)
return soup
tstr = alink.string
alink.replaceWith(tstr)
return soup

View File

@ -24,4 +24,3 @@ class app_funds(BasicNewsRecipe):
auto_cleanup = True
feeds = [(u'blog', u'http://feeds.feedburner.com/blogspot/etVI')]

View File

@ -47,4 +47,3 @@ class bankier(BasicNewsRecipe):
segments = urlPart.split('-')
urlPart2 = segments[-1]
return 'http://www.bankier.pl/wiadomosci/print.html?article_id=' + urlPart2