Del unused parameter.
This commit is contained in:
parent
911a5925b7
commit
4dbb50301c
@ -102,6 +102,8 @@ class Account(db.Model):
|
|||||||
# pylint: disable=no-self-use
|
# pylint: disable=no-self-use
|
||||||
def validate_authorized_overdraft(self, key, authorized_overdraft):
|
def validate_authorized_overdraft(self, key, authorized_overdraft):
|
||||||
"""Validator for authorized_overdraft : must be negative."""
|
"""Validator for authorized_overdraft : must be negative."""
|
||||||
|
del key
|
||||||
|
|
||||||
assert authorized_overdraft <= 0
|
assert authorized_overdraft <= 0
|
||||||
|
|
||||||
return authorized_overdraft
|
return authorized_overdraft
|
||||||
|
Loading…
Reference in New Issue
Block a user