mirror of https://github.com/django/django.git
Fixed F841 flake8 warning.
This commit is contained in:
parent
8f90593e6f
commit
641742528a
|
@ -64,7 +64,7 @@ class DatabaseCreation(BaseDatabaseCreation):
|
|||
with self._nodb_connection.cursor() as cursor:
|
||||
try:
|
||||
self._execute_create_test_db(cursor, test_db_params, keepdb)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
try:
|
||||
if verbosity >= 1:
|
||||
self.log('Destroying old test database for alias %s…' % (
|
||||
|
|
Loading…
Reference in New Issue