diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-06-26 10:29:43 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-06-26 10:29:43 -0400 |
commit | e31971cfb46efd0ef41525473a1d9bcb81e90f43 (patch) | |
tree | 67ebc66f9fec1ac0b1c43202389f6c60fc7f6cb8 /alembic/script | |
parent | 79f84f71e1045aafed389e7b22112c3d706d0bac (diff) | |
download | alembic-e31971cfb46efd0ef41525473a1d9bcb81e90f43.tar.gz |
repair py3k merge
in 79f84f71e1045aafed389e7b221 I merged without rebasing
so we missed updating the recent version_locations patch,
fix that.
also we don't need mock as a test dependency.
Change-Id: Ic2fe1db8b105c60ec51eefec7a4dc8d8c495b119
Diffstat (limited to 'alembic/script')
-rw-r--r-- | alembic/script/base.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/alembic/script/base.py b/alembic/script/base.py index a96f264..d0500c4 100644 --- a/alembic/script/base.py +++ b/alembic/script/base.py @@ -154,15 +154,11 @@ class ScriptDirectory: try: split_char = split_on_path[version_path_separator] except KeyError as ke: - util.raise_( - ValueError( - "'%s' is not a valid value for " - "version_path_separator; " - "expected 'space', 'os', ':', ';'" - % version_path_separator - ), - from_=ke, - ) + raise ValueError( + "'%s' is not a valid value for " + "version_path_separator; " + "expected 'space', 'os', ':', ';'" % version_path_separator + ) from ke else: if split_char is None: # legacy behaviour for backwards compatibility |