summaryrefslogtreecommitdiff
path: root/django/core/serializers/python.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:04:38 +0100
commit097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 (patch)
tree7042be9ee3aabda10ecfa8923a113388b81f34a8 /django/core/serializers/python.py
parent8c660fb59239828583f17cdede3b64f208b8752c (diff)
Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
Diffstat (limited to 'django/core/serializers/python.py')
-rw-r--r--django/core/serializers/python.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/core/serializers/python.py b/django/core/serializers/python.py
index fa3bce2948..36048601af 100644
--- a/django/core/serializers/python.py
+++ b/django/core/serializers/python.py
@@ -128,8 +128,7 @@ def Deserializer(
field_names = field_names_cache[Model]
# Handle each field
- for (field_name, field_value) in d["fields"].items():
-
+ for field_name, field_value in d["fields"].items():
if ignorenonexistent and field_name not in field_names:
# skip fields no longer on model
continue