Dear all,
I am using python2.2, sqlobject0.3 and sqlite. When I try to destroy an object
I get the following exception. I have tried commenting line 831 in the code
and it seems to work after that. I have not tried this with any other db
other then sqlite. Any feedback would be graciously appreciated.
Thanks mates.
>>> food = Food.new(name='Dodo')
>>> food.destroy()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/site-packages/SQLObject/SQLObject.py", line 831, in
destroy
self._connection.cache.purge(self.id)
AttributeError: 'CacheSet' object has no attribute 'purge'
>>>
|