Merge pull request #12021 from amolgautam25/ctit_db

removed 'check_migrations' condition in _citi_db_wrapper
This commit is contained in:
Amol Gautam
2022-04-14 08:59:48 -07:00
committed by GitHub

View File

@@ -81,7 +81,6 @@ def _ctit_db_wrapper(trans_safe=False):
yield
except DBError as exc:
if trans_safe:
if 'migrate' not in sys.argv and 'check_migrations' not in sys.argv:
level = logger.exception
if isinstance(exc, ProgrammingError):
if 'relation' in str(exc) and 'does not exist' in str(exc):