Temporary hack to make the AsIs adapter work (take 2.)

This commit is contained in:
Federico Di Gregorio 2005-02-28 09:16:49 +00:00
parent ab02141d48
commit 1ec3c83720

View File

@ -81,7 +81,7 @@ class AsIs(object):
def __init__(self, obj): def __init__(self, obj):
self.__obj = obj self.__obj = obj
def getquoted(self): def getquoted(self):
return self.__obj return str(self.__obj)
def prepare(self, conn): def prepare(self, conn):
pass pass
__str__ = getquoted __str__ = getquoted