Commit cf8f2028 authored by Julien Muchembled's avatar Julien Muchembled

qa: fix interface check of SQLite & MySQL implementations

The reverts a wrong change in commit 30a02bdc
("importer: new option to write back new transactions to the source database").
parent ecc9c63c
...@@ -54,7 +54,7 @@ def implements(obj, ignore=()): ...@@ -54,7 +54,7 @@ def implements(obj, ignore=()):
while 1: while 1:
name, func = base.pop() name, func = base.pop()
x = getattr(obj, name) x = getattr(obj, name)
if type(getattr(x, '__self__', None)) is tobj: if getattr(x, 'im_class', None) is tobj:
x = x.__func__ x = x.__func__
if x is func: if x is func:
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment