From 4dbb50301c672d3cf92275a7769caa8b92b16019 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Sun, 7 May 2017 22:37:59 +0200 Subject: [PATCH] Del unused parameter. --- accountant/models/accounts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/accountant/models/accounts.py b/accountant/models/accounts.py index 272e2ed..17258f8 100644 --- a/accountant/models/accounts.py +++ b/accountant/models/accounts.py @@ -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