mirror of
https://github.com/django/django.git
synced 2025-02-13 02:46:41 +00:00
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:
|
with self._nodb_connection.cursor() as cursor:
|
||||||
try:
|
try:
|
||||||
self._execute_create_test_db(cursor, test_db_params, keepdb)
|
self._execute_create_test_db(cursor, test_db_params, keepdb)
|
||||||
except Exception as e:
|
except Exception:
|
||||||
try:
|
try:
|
||||||
if verbosity >= 1:
|
if verbosity >= 1:
|
||||||
self.log('Destroying old test database for alias %s…' % (
|
self.log('Destroying old test database for alias %s…' % (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user