pyflakes fixes
This commit is contained in:
parent
244bb055f2
commit
ab0b47ee87
4 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue