getattr(oldchild, self.key).remove(obj)
if child is not None:
getattr(child, self.key).append(obj)
-# getattr(child, self.key).append(obj)
-
class AttributeManager(object):
"""maintains a set of per-attribute history container objects for a set of objects."""
def __init__(self):
return ResultProxy(cursor, self, typemap=typemap)
def _execute(self, c, statement, parameters):
+ #try:
c.execute(statement, parameters)
+ #except:
+ # raise "OK ERROR " + statement + " " + repr(parameters)
self.context.rowcount = c.rowcount
def _executemany(self, c, statement, parameters):
c.executemany(statement, parameters)