]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
add conditional for fileConfig()
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Feb 2022 19:52:03 +0000 (14:52 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Feb 2022 19:52:03 +0000 (14:52 -0500)
commitcacce364c345a849bedd3708167ee20245f6bcda
treef5c93ebfe8b1f517e755ce19c2084fa81c62acc3
parentfb8d4502c0a4ad9a68ff1fe15bc4b3a0dfeaaacb
add conditional for fileConfig()

The ``fileConfig()`` line in the ``env.py`` templates is now conditional on
``Config.config_file_name`` not being None.

Change-Id: Ibe943d093fd872c4d0a836f58e0608a4e078ce1f
Fixes: #986
alembic/templates/async/env.py
alembic/templates/generic/env.py
alembic/templates/multidb/env.py
alembic/templates/pylons/env.py
docs/build/unreleased/986.rst [new file with mode: 0644]