mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Removed migration check conditions in citi_db_wrapper
This commit is contained in:
@@ -81,7 +81,6 @@ def _ctit_db_wrapper(trans_safe=False):
|
|||||||
yield
|
yield
|
||||||
except DBError as exc:
|
except DBError as exc:
|
||||||
if trans_safe:
|
if trans_safe:
|
||||||
if 'migrate' not in sys.argv and 'check_migrations' not in sys.argv:
|
|
||||||
level = logger.exception
|
level = logger.exception
|
||||||
if isinstance(exc, ProgrammingError):
|
if isinstance(exc, ProgrammingError):
|
||||||
if 'relation' in str(exc) and 'does not exist' in str(exc):
|
if 'relation' in str(exc) and 'does not exist' in str(exc):
|
||||||
|
|||||||
Reference in New Issue
Block a user