]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Access `__file__` as part of generating template path 651/head
authorlayday <layday@protonmail.com>
Mon, 3 Feb 2020 02:09:03 +0000 (04:09 +0200)
committerlayday <layday@protonmail.com>
Mon, 3 Feb 2020 02:18:30 +0000 (04:18 +0200)
commitc30299dbc3499c59e81602d91deb3b03166b4583
tree697ef29301bfa7acffa3bb7f328c693a3cad01ea
parentbd0770661dd9879780b2e6248083f80c11dce92a
Access `__file__` as part of generating template path

This allows importing Alembic in environments
that do not have `__file__` as discussed in #648.

Fixes: #648
alembic/__init__.py
alembic/config.py