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
|
|
@ -44,6 +44,7 @@ class IndexPage(BasePage):
|
|||
|
||||
yield product
|
||||
|
||||
|
||||
class ComparisonResultsPage(BasePage):
|
||||
def get_product_name(self):
|
||||
try:
|
||||
|
|
@ -75,6 +76,7 @@ class ComparisonResultsPage(BasePage):
|
|||
price.set_empty_fields(NotAvailable)
|
||||
yield price
|
||||
|
||||
|
||||
class ShopInfoPage(BasePage):
|
||||
def get_info(self):
|
||||
return self.parser.tostring(self.parser.select(self.document.getroot(), 'div.colg', 1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue