Commits

jason kirtland  committed 087e39f

Snipped another generator expression.

  • Participants
  • Parent commits 1da117a

Comments (0)

Files changed (1)

File lib/sqlalchemy/databases/postgres.py

         if whereclause is not None:
             compiler = self._compile(whereclause, None)
             # this might belong to the compiler class
-            inlined_clause = str(compiler) % dict((key,bind.value) for key,bind in compiler.binds.iteritems())
+            inlined_clause = str(compiler) % dict(
+                [(key,bind.value) for key,bind in compiler.binds.iteritems()])
             self.append(" WHERE " + inlined_clause)
         self.execute()