diff options
author | Diana Clarke <diana.joan.clarke@gmail.com> | 2011-02-28 23:55:34 -0500 |
---|---|---|
committer | Diana Clarke <diana.joan.clarke@gmail.com> | 2011-02-28 23:55:34 -0500 |
commit | 2d71ec27660db496342d0f3fab456c5ebd1a2777 (patch) | |
tree | 43ff5331217e5c94526cf084b8c37921a44f874c /lib/sqlalchemy/engine/url.py | |
parent | c594b58f0b8cf72d49cc6bf748b5e4851a1f9c2c (diff) | |
download | sqlalchemy-2d71ec27660db496342d0f3fab456c5ebd1a2777.tar.gz |
see #2060
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
-rw-r--r-- | lib/sqlalchemy/engine/url.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py index 9f4c2dbdf..7d5e0692f 100644 --- a/lib/sqlalchemy/engine/url.py +++ b/lib/sqlalchemy/engine/url.py @@ -112,7 +112,8 @@ class URL(object): if module is not None: return module else: - raise + raise exc.ArgumentError( + "Could not determine dialect for '%s'." % self.drivername) def _load_entry_point(self): """attempt to load this url's dialect from entry points, or return None |