mirror of
https://github.com/django/django.git
synced 2025-08-30 15:27:40 +00:00
Fixed #28893 -- Removed unnecessary dict.items() calls.
This commit is contained in:
parent
183fb7b2b9
commit
a862af3839
14 changed files with 25 additions and 25 deletions
|
@ -33,7 +33,7 @@ class DatabaseCreationTests(SimpleTestCase):
|
|||
try:
|
||||
yield
|
||||
finally:
|
||||
for name, value in kwargs.items():
|
||||
for name in kwargs:
|
||||
if name in saved_values:
|
||||
settings[name] = saved_values[name]
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue