mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
This commit is contained in:
committed by
Loic Bistuer
parent
caf5cd7ba7
commit
b2aad7b836
@@ -298,7 +298,7 @@ def _non_atomic_requests(view, using):
|
||||
try:
|
||||
view._non_atomic_requests.add(using)
|
||||
except AttributeError:
|
||||
view._non_atomic_requests = set([using])
|
||||
view._non_atomic_requests = {using}
|
||||
return view
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user