diff options
author | Tim Graham <timograham@gmail.com> | 2019-01-02 18:18:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-02 18:18:19 -0500 |
commit | 0004daa536890fdb389c895baaa21bea6a1f7073 (patch) | |
tree | 9f66a0ce81466d8fa7043e70f0d96b9cc3350473 /tests/logging_tests | |
parent | 5bbf31634faad13658dc7bcaeb8139d8625e4349 (diff) | |
download | django-0004daa536890fdb389c895baaa21bea6a1f7073.tar.gz |
Used 4 space hanging indent for dictionaries.
Thanks Mariusz Felisiak for auditing.
Diffstat (limited to 'tests/logging_tests')
-rw-r--r-- | tests/logging_tests/tests.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/logging_tests/tests.py b/tests/logging_tests/tests.py index 37010ab7d0..3ab905eab6 100644 --- a/tests/logging_tests/tests.py +++ b/tests/logging_tests/tests.py @@ -537,9 +537,10 @@ format=%(message)s self.temp_file = NamedTemporaryFile() self.temp_file.write(logging_conf.encode()) self.temp_file.flush() - sdict = {'LOGGING_CONFIG': '"logging.config.fileConfig"', - 'LOGGING': 'r"%s"' % self.temp_file.name} - self.write_settings('settings.py', sdict=sdict) + self.write_settings('settings.py', sdict={ + 'LOGGING_CONFIG': '"logging.config.fileConfig"', + 'LOGGING': 'r"%s"' % self.temp_file.name, + }) def tearDown(self): self.temp_file.close() |