]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Report warnings from caller's file/line number 578/head
authorAsh Berlin-Taylor <ash_github@firemirror.com>
Fri, 21 Jun 2019 10:03:53 +0000 (11:03 +0100)
committerAsh Berlin-Taylor <ash_github@firemirror.com>
Fri, 21 Jun 2019 10:03:53 +0000 (11:03 +0100)
commit49d2922dc61bfc6da42a5f45b53f04032970daeb
tree8f63583ea33766dcd0960867e7d75f04a25982e4
parenta8b60b4ad9fe8339629da9ce41853519460abb15
Report warnings from caller's file/line number

Seeing the warning come from `alembic/util/messaging.py:69` is not very
useful for tacking down the source of the incorrect call.

By default utils.warning will now report the warning from the caller,
but some cases it makes sense to report from the context of the
caller's caller.
alembic/command.py
alembic/ddl/impl.py
alembic/runtime/migration.py
alembic/util/messaging.py