Skip to content

Commit 74db01e

Browse files
committed
Execute cursor via Database.sql().
1 parent 155330e commit 74db01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/backends/rdbms_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ def getnode(self, classname, nodeid):
10121012
# get the link ids
10131013
sql = 'select linkid from %s_%s where nodeid=%s'%(classname, col,
10141014
self.arg)
1015-
self.cursor.execute(sql, (nodeid,))
1015+
self.sql(sql, (nodeid,))
10161016
# extract the first column from the result
10171017
# XXX numeric ids
10181018
items = [int(x[0]) for x in self.cursor.fetchall()]

0 commit comments

Comments
 (0)