]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
actually we need to copy the dict there since it gets run repeatedly inside of an...
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Apr 2010 04:48:51 +0000 (00:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 15 Apr 2010 04:48:51 +0000 (00:48 -0400)
lib/sqlalchemy/test/assertsql.py

index 76f30f13bf8341eb8bf60c9f9bef0e3551f8f884..d363d33132d366f1cb5ce6c02b6c7f1f37c53eeb 100644 (file)
@@ -159,7 +159,7 @@ class CompiledSQL(SQLMatchRule):
             all_params = list(params)
             all_received = list(_received_parameters)
             while params:
-                param = params.pop(0)
+                param = dict(params.pop(0))
                 for k, v in context.compiled.params.iteritems():
                     param.setdefault(k, v)