Del unused parameter.

This commit is contained in:
Alexis Lahouze 2017-05-07 22:37:59 +02:00
parent 911a5925b7
commit 4dbb50301c

View File

@ -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