Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -64,7 +64,6 @@ class TorrentsPage(BasePage):
|
|||
torrent.description = NotLoaded
|
||||
torrent.files = NotLoaded
|
||||
yield torrent
|
||||
|
||||
|
||||
|
||||
class TorrentPage(BasePage):
|
||||
|
|
@ -86,7 +85,7 @@ class TorrentPage(BasePage):
|
|||
href_t = self.parser.select(div,'a.down',1).attrib.get('href','')
|
||||
url = u'http://%s%s'%(self.browser.DOMAIN,href_t)
|
||||
magnet = unicode(self.parser.select(div,'a.magnet',1).attrib.get('href',''))
|
||||
|
||||
|
||||
divtabs = self.parser.select(div,'div#tabs',1)
|
||||
files_div = self.parser.select(divtabs,'div.body > div.doubleblock > div.leftblock')
|
||||
files = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue