]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commitdiff
Add missing util.raise_from_cause
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Feb 2020 14:25:41 +0000 (09:25 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Feb 2020 14:25:41 +0000 (09:25 -0500)
the re-vendoring of exclusions.py done by Mike
in 3ea190f843c7f246f73f91a looks for this function in util;
add it to the exported names from alembic.util.

Change-Id: I314801709993e1327396f0799fd9eefc3858985e

alembic/util/__init__.py

index 5e1a513bd61ea6d0b0a7edf6b8e06105f1705c71..961a18bd9e37ce1187d24ba558ab57bb8e28199c 100644 (file)
@@ -1,3 +1,4 @@
+from .compat import raise_from_cause  # noqa
 from .exc import CommandError
 from .langhelpers import _with_legacy_names  # noqa
 from .langhelpers import asbool  # noqa
@@ -22,12 +23,12 @@ from .pyfiles import edit  # noqa
 from .pyfiles import load_python_file  # noqa
 from .pyfiles import pyc_file_from_path  # noqa
 from .pyfiles import template_to_file  # noqa
+from .sqla_compat import has_computed  # noqa
 from .sqla_compat import sqla_110  # noqa
 from .sqla_compat import sqla_1115  # noqa
 from .sqla_compat import sqla_120  # noqa
 from .sqla_compat import sqla_1216  # noqa
 from .sqla_compat import sqla_13  # noqa
-from .sqla_compat import has_computed  # noqa
 
 
 if not sqla_110: