Del unused parameter.

This commit is contained in:
Alexis Lahouze 2017-05-07 22:37:59 +02:00
parent 911a5925b7
commit 4dbb50301c
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@ class Account(db.Model):
# pylint: disable=no-self-use
def validate_authorized_overdraft(self, key, authorized_overdraft):
"""Validator for authorized_overdraft : must be negative."""
del key
assert authorized_overdraft <= 0
return authorized_overdraft