summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine/url.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-08-04 15:28:40 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-08-04 15:28:40 -0400
commit1a88a982b43f2f3a0735890b00a45e178727812f (patch)
treea5a49a6bc15261cc3d44a879cbe857f408517c3f /lib/sqlalchemy/engine/url.py
parent9a49e09d0bae23bde869842c1444b65dc7e58c3d (diff)
downloadsqlalchemy-1a88a982b43f2f3a0735890b00a45e178727812f.tar.gz
find some more inline imports and move them out
Diffstat (limited to 'lib/sqlalchemy/engine/url.py')
-rw-r--r--lib/sqlalchemy/engine/url.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py
index ed5729eea..717eb54e1 100644
--- a/lib/sqlalchemy/engine/url.py
+++ b/lib/sqlalchemy/engine/url.py
@@ -16,6 +16,7 @@ be used directly and is also accepted directly by ``create_engine()``.
import re
from .. import exc, util
from . import Dialect
+from ..dialects import registry
class URL(object):
@@ -102,7 +103,6 @@ class URL(object):
name = self.drivername
else:
name = self.drivername.replace('+', '.')
- from sqlalchemy.dialects import registry
cls = registry.load(name)
# check for legacy dialects that
# would return a module with 'dialect' as the