Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed regression introduced by efd1e60, 'map' returns an iterator on …

…PY3.
  • Loading branch information...
commit 37d46b20fc5325b6fb082f95936a6c97c92dcf7d 1 parent ded4014
Loïc Bistuer loic authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/schema.py
2  django/db/backends/schema.py
View
@@ -90,7 +90,7 @@ def execute(self, sql, params=[]):
# Log the command we're running, then run it
logger.debug("%s; (params %r)" % (sql, params))
if self.collect_sql:
- self.collected_sql.append((sql % map(self.connection.ops.quote_parameter, params)) + ";")
+ self.collected_sql.append((sql % list(map(self.connection.ops.quote_parameter, params))) + ";")
else:
cursor.execute(sql, params)
Please sign in to comment.
Something went wrong with that request. Please try again.