From 89b15dd8b1ca62f08da6932f70694addf194f80a Mon Sep 17 00:00:00 2001 From: Alen Mistric Date: Sun, 16 Sep 2018 07:43:06 +0200 Subject: [PATCH] Use inspect.getfullargspec() function because inspect.getargspec() is deprecated --- bottle_sqlite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bottle_sqlite.py b/bottle_sqlite.py index efe8440..88cc387 100755 --- a/bottle_sqlite.py +++ b/bottle_sqlite.py @@ -104,7 +104,7 @@ class SQLitePlugin(object): # Test if the original callback accepts a 'db' keyword. # Ignore it if it does not need a database handle. - argspec = inspect.getargspec(_callback) + argspec = inspect.getfullargspec(_callback) if keyword not in argspec.args: return callback