This commit is contained in:
Cédric Krier committed 2008-03-19 22:13:10 +01:00
1 parent a42c68e8a1
commit 1475601efd
1 file changed
+1 -1
+1 -1
View File
@@ -32,7 +32,7 @@ class WorkflowService(Service):
def trg_trigger(self, user, res_type, res_id, cursor):
"Trigger trigger"
cursor.execute('SELECT instance_id FROM wkf_trigger ' \
cursor.execute('SELECT instance FROM wkf_trigger ' \
'WHERE res_id = %s AND model = %s', (res_id, res_type))
# TODO remove the query from for statement
for (instance_id,) in cursor.fetchall():