Commit ab0b47ee authored by Romain Bignon's avatar Romain Bignon

pyflakes fixes

parent 244bb055
......@@ -16,7 +16,6 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
import urllib2
from PyQt4.QtGui import QFrame, QImage, QPixmap
from weboob.tools.application.qt import QtDo
......
......@@ -77,7 +77,7 @@ class DLFP(BaseBrowser):
url = '%s://%s/submit/comments,%d,%d,%d.html#post' % (self.PROTOCOL, self.DOMAIN, thread_id, reply_id, content_type)
request = self.request_class(url, urllib.urlencode(data), {'Referer': url})
result = self.openurl(request).read()
self.openurl(request).read()
# No message to send
return ()
......
......@@ -38,7 +38,6 @@ class IndexPage(BasePage):
thumbnail_url = span.find('.//img').attrib['src']
selector = 'span#title1'
title_el = select(span, 'span#title1', 1)
title = title_el.text.strip()
......
......@@ -19,7 +19,7 @@
from weboob.tools.browser import BaseBrowser
from weboob.tools.browser.decorators import id2url
from .pages import ForbiddenVideo, ForbiddenVideoPage, VerifyAgePage, VideoPage
from .pages import ForbiddenVideoPage, VerifyAgePage, VideoPage
from .video import YoutubeVideo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment