From d884967e2c258a92664136eb96c6f088432b288a Mon Sep 17 00:00:00 2001 From: stvn Date: Wed, 7 Apr 2021 11:43:11 -0700 Subject: [PATCH] refactor: Split kwargs out to individual lines to make further addition/deletion cleaner. --- openedx/core/djangoapps/discussions/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/discussions/models.py b/openedx/core/djangoapps/discussions/models.py index 29f3fd9075..51015caaa8 100644 --- a/openedx/core/djangoapps/discussions/models.py +++ b/openedx/core/djangoapps/discussions/models.py @@ -195,7 +195,10 @@ class DiscussionsConfiguration(TimeStampedModel): try: configuration = cls.objects.get(context_key=context_key) except cls.DoesNotExist: - configuration = cls(context_key=context_key, enabled=False) + configuration = cls( + context_key=context_key, + enabled=False, + ) return configuration # pylint: enable=undefined-variable