Removed unnecessary dict.get() call in favor of direct indexing.

The 'TEST' key is always set to a dictionary in ConnectionHandler.
This commit is contained in:
Jon Dufresne 2019-12-04 02:34:06 -08:00 committed by Carlton Gibson
parent 95ae1a9f8c
commit 2540c5f08c
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ def setup_databases(verbosity, interactive, keepdb=False, debug_sql=False, paral
verbosity=verbosity,
autoclobber=not interactive,
keepdb=keepdb,
serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
serialize=connection.settings_dict['TEST'].get('SERIALIZE', True),
)
if parallel > 1:
for index in range(parallel):