pyflakes fixes
This commit is contained in:
parent
358a06367d
commit
0deef319f0
2 changed files with 5 additions and 6 deletions
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
|
||||
from weboob.tools.browser import BaseBrowser
|
||||
from weboob.tools.browser.decorators import id2url
|
||||
|
||||
from .pages.video import VideoPage
|
||||
from .video import InaVideo
|
||||
|
|
@ -28,7 +27,7 @@ __all__ = ['InaBrowser']
|
|||
|
||||
class InaBrowser(BaseBrowser):
|
||||
DOMAIN = 'ina.fr'
|
||||
PAGES = {'http://boutique.ina.fr/video/.+.html': VideoPage,
|
||||
PAGES = {'http://boutique\.ina\.fr/video/.+\.html': VideoPage,
|
||||
}
|
||||
|
||||
@id2url(InaVideo.id2url)
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ class Account(object):
|
|||
return self._balance
|
||||
|
||||
@balance.setter
|
||||
def balance(self, value):
|
||||
def balance_set(self, value):
|
||||
self._balance = float(value)
|
||||
|
||||
@property
|
||||
|
|
@ -52,7 +52,7 @@ class Account(object):
|
|||
return self._coming
|
||||
|
||||
@coming.setter
|
||||
def coming(self, value):
|
||||
def coming_set(self, value):
|
||||
self._coming = float(value)
|
||||
|
||||
def __repr__(self):
|
||||
|
|
@ -73,7 +73,7 @@ class Operation(object):
|
|||
return self._label
|
||||
|
||||
@label.setter
|
||||
def label(self, value):
|
||||
def label_set(self, value):
|
||||
self._label = str(value)
|
||||
|
||||
@property
|
||||
|
|
@ -81,7 +81,7 @@ class Operation(object):
|
|||
return self._amount
|
||||
|
||||
@amount.setter
|
||||
def amount(self, value):
|
||||
def amount_set(self, value):
|
||||
self._amount = float(value)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue