Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 4038:f8bc05158f46
Execute cursor via Database.sql().
| author | Stefan Seefeld <stefan@seefeld.name> |
|---|---|
| date | Mon, 16 Feb 2009 20:47:59 +0000 |
| parents | 6e2dec4f9836 |
| children | f44ec45cedb4 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Mon Feb 16 17:54:23 2009 +0000 +++ b/roundup/backends/rdbms_common.py Mon Feb 16 20:47:59 2009 +0000 @@ -1012,7 +1012,7 @@ # get the link ids sql = 'select linkid from %s_%s where nodeid=%s'%(classname, col, self.arg) - self.cursor.execute(sql, (nodeid,)) + self.sql(sql, (nodeid,)) # extract the first column from the result # XXX numeric ids items = [int(x[0]) for x in self.cursor.fetchall()]
