summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-09 10:18:56 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-12-09 10:18:56 +0000
commit90093e7965d279b24b20711ce0d0af7d63bfe549 (patch)
tree4a0277c47e86006d9d1cb0ac7a8263e782676f4a
parentb3c01b389ccc715a91c0866316261ea72507ede5 (diff)
Fixed #6147 -- Typo fix (that amazingly didn't stop the code working) in the code for loading a database module. Thanks, guido@python.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/__init__.py b/django/db/__init__.py
index d4ea1403bd..8f75e0d7b8 100644
--- a/django/db/__init__.py
+++ b/django/db/__init__.py
@@ -34,8 +34,8 @@ except ImportError, e:
raise # If there's some other error, this must be an error in Django itself.
def _import_database_module(import_path='', module_name=''):
- """Lazyily import a database module when requested."""
- return __import__('%s%s.%s' % (_import_path, settings.DATABASE_ENGINE, module_name), {}, {}, [''])
+ """Lazily import a database module when requested."""
+ return __import__('%s%s.%s' % (import_path, settings.DATABASE_ENGINE, module_name), {}, {}, [''])
# We don't want to import the introspect/creation modules unless
# someone asks for 'em, so lazily load them on demmand.