From: richard Date: Thu, 19 Sep 2002 03:39:48 +0000 (+0000) Subject: fix to setid X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=24fb1ada649b11363e8ff9d036dc39284804480d;p=roundup.git fix to setid git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1195 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/rdbms_common.py b/roundup/backends/rdbms_common.py index 42d832d..3eb9ab2 100644 --- a/roundup/backends/rdbms_common.py +++ b/roundup/backends/rdbms_common.py @@ -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 @@ class Database(FileStorage, hyperdb.Database, roundupdb.Database): ''' 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)