Ticket #6147: db_init.diff

File db_init.diff, 634 bytes (added by guido@…, 17 years ago)

Patch

  • db/__init__.py

     
    3535
    3636def _import_database_module(import_path='', module_name=''):
    3737    """Lazyily import a database module when requested."""
    38     return __import__('%s%s.%s' % (_import_path, settings.DATABASE_ENGINE, module_name), {}, {}, [''])
     38    return __import__('%s%s.%s' % (import_path, settings.DATABASE_ENGINE, module_name), {}, {}, [''])
    3939
    4040# We don't want to import the introspect/creation modules unless
    4141# someone asks for 'em, so lazily load them on demmand.
Back to Top