Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 1171:8784a11f8c2f
fix to setid
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 19 Sep 2002 03:39:48 +0000 |
| parents | af104fa52746 |
| children | e7e56ad506de |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Thu Sep 19 02:37:41 2002 +0000 +++ b/roundup/backends/rdbms_common.py Thu Sep 19 03:39:48 2002 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.3 2002-09-19 02:37:41 richard Exp $ +# $Id: rdbms_common.py,v 1.4 2002-09-19 03:39:48 richard Exp $ # standard python modules import sys, os, time, re, errno, weakref, copy @@ -429,7 +429,7 @@ ''' cursor = self.conn.cursor() sql = 'update ids set num=%s where name=%s'%(self.arg, self.arg) - vals = (setid, spec.classname) + vals = (setid, classname) if __debug__: print >>hyperdb.DEBUG, 'setid', (self, sql, vals) cursor.execute(sql, vals)
