Follow PEP-0249 for Transaction and backends

This commit is contained in:
Jes?s Mart?n Jim?nez 2016-08-18 10:04:22 +02:00
parent 1a82f18823
commit 301693280e

View file

@ -479,7 +479,7 @@ class Line:
AND bool_or(aml.credit <> 0)
)
"""
cursor = Transaction().cursor
cursor = Transaction().connection.cursor()
cursor.execute(query)
return [('id', operator, [x[0] for x in cursor.fetchall()])]