This commit is contained in:
Mike Bayer
2005-09-20 06:42:10 +00:00
parent 41db538a68
commit 78bc9be207
+1 -1
View File
@@ -182,6 +182,7 @@ class Mapper(object):
if not found. The *ident argument is a
list of primary keys in the order of the table def's primary keys."""
key = objectstore.get_id_key(ident, self.class_, self.table)
print "key: " + repr(key) + " ident: " + repr(ident)
try:
return objectstore.uow()._get(key)
except KeyError:
@@ -631,7 +632,6 @@ class PropertyLoader(MapperProperty):
self.primaryjoin.accept_visitor(setter)
uowcommit.register_deleted_list(childlist)
if len(updates):
print "DELETION UPDATES?!"
parameters = {}
for bind in self.lazybinds.values():
parameters[bind.shortname] = None