details isn't implemented: remove dummy code
Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@gmx.fr>
This commit is contained in:
parent
9e28ec2348
commit
2e0c69df94
2 changed files with 0 additions and 15 deletions
|
|
@ -88,16 +88,6 @@ class AmeliBrowser(LoginBrowser):
|
|||
for payment in self.page.iter_payment_details(sub):
|
||||
yield payment
|
||||
|
||||
@need_login
|
||||
def iter_details(self, sub):
|
||||
self.logger.debug('call Browser.iter_details')
|
||||
det = Detail()
|
||||
det.id = sub.id
|
||||
det.label = sub.label
|
||||
det.infos = ''
|
||||
det.price = Decimal('0.0')
|
||||
yield det
|
||||
|
||||
@need_login
|
||||
def iter_bills(self, sub):
|
||||
self.logger.debug('call Browser.iter_bills')
|
||||
|
|
|
|||
|
|
@ -60,11 +60,6 @@ class AmeliModule(Module, CapBill):
|
|||
subscription = self.get_subscription(subscription)
|
||||
return self.browser.iter_history(subscription)
|
||||
|
||||
def get_details(self, subscription):
|
||||
if not isinstance(subscription, Subscription):
|
||||
subscription = self.get_subscription(subscription)
|
||||
return self.browser.iter_details(subscription)
|
||||
|
||||
def iter_bills(self, subscription):
|
||||
if not isinstance(subscription, Subscription):
|
||||
subscription = self.get_subscription(subscription)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue