pep8 blank lines fixes
flake8 --select W391,E302,E301,E304 autopep8 can't fix W391 even though it claims it can. Fixed using a simple custom script.
This commit is contained in:
parent
be2c8bd789
commit
448c06d125
142 changed files with 249 additions and 25 deletions
|
|
@ -8,6 +8,7 @@ from .browser import BTDiggBrowser
|
|||
|
||||
__all__ = ['BTDiggModule']
|
||||
|
||||
|
||||
class BTDiggModule(Module, CapTorrent):
|
||||
NAME = 'btdigg'
|
||||
MAINTAINER = u'Matthieu Rakotojaona'
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ class TorrentsPage(Page):
|
|||
torrent.date = date
|
||||
yield torrent
|
||||
|
||||
|
||||
class TorrentPage(Page):
|
||||
def get_torrent(self, id):
|
||||
trs = self.document.getroot().cssselect('table.torrent_info_tbl tr')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue