summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShai Berger <shai@platonix.com>2014-03-09 12:24:23 +0200
committerShai Berger <shai@platonix.com>2014-03-09 12:27:12 +0200
commitdeff74ea0cc38794cd10a1a3866904c227c986f7 (patch)
tree1f619cd7bb8b791e08cbbe6320c4e71818c15653
parent3a34f71d4dcadae3d8e6c1c603b47e603f0dada3 (diff)
Fixed the last fix for database test settings to work with Python3.
-rw-r--r--django/db/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/utils.py b/django/db/utils.py
index b884cc57b1..7f19256425 100644
--- a/django/db/utils.py
+++ b/django/db/utils.py
@@ -209,7 +209,7 @@ class ConnectionHandler(object):
"to a %s entry in the TEST setting" % (key, new_key),
RemovedInDjango19Warning, stacklevel=2)
test_settings[new_key] = value
- for key in conn.keys():
+ for key in list(conn.keys()):
if key.startswith('TEST_'):
del conn[key]
# Check that they didn't just use the old name with 'TEST_' removed