]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
primary key identifier is a list now, not param list, [ticket:236]
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 12 Jul 2006 19:02:53 +0000 (19:02 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 12 Jul 2006 19:02:53 +0000 (19:02 +0000)
lib/sqlalchemy/orm/session.py

index 82e1c6d6deebee3e4a086eb395d81be046c9c87e..6988f81cc2d327f8e1372970b42d68709781e4da 100644 (file)
@@ -320,7 +320,7 @@ class Session(object):
                 # TODO: copy the state of the given object into this one.  tricky !
                 inst = u.identity_map[key]
             else:
-                inst = self.get(object.__class__, *key[1])
+                inst = self.get(object.__class__, key[1])
             if obj is object:
                 instance = inst