Merge 27e881de10
into fce1bb95e7
This commit is contained in:
commit
1bc28bfa37
|
@ -111,7 +111,7 @@ class SQLitePlugin(object):
|
||||||
|
|
||||||
# Test if the original callback accepts a 'db' keyword.
|
# Test if the original callback accepts a 'db' keyword.
|
||||||
# Ignore it if it does not need a database handle.
|
# Ignore it if it does not need a database handle.
|
||||||
argspec = inspect.getargspec(_callback)
|
argspec = inspect.getfullargspec(_callback)
|
||||||
if keyword not in argspec.args:
|
if keyword not in argspec.args:
|
||||||
return callback
|
return callback
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user