  """
  SQLite3 backend for django.
  
  Python 2.4 requires pysqlite2 (http://pysqlite.org/).
  
  Python 2.5 and later can use a pysqlite2 module or the sqlite3 module in the
  standard library.
  """
  
  import re
  import sys
 
</s> remove     import sys
 </s> add  </s> remove     if sys.version_info < (2, 5, 0):
        module = 'pysqlite2 module'
        exc = e1
    else:
        module = 'either pysqlite2 or sqlite3 modules (tried in that order)'
    raise ImproperlyConfigured("Error loading %s: %s" % (module, exc))
 </s> add     raise ImproperlyConfigured("Error loading either pysqlite2 or sqlite3 modules (tried in that order): %s" % exc)
Works with either the pysqlite2 module or the sqlite3 module in the
  """
  SQLite3 backend for django.
  
Works with either the pysqlite2 module or the sqlite3 module in the
Works with either the pysqlite2 module or the sqlite3 module in the
Works with either the pysqlite2 module or the sqlite3 module in the
  standard library.
  """
  
  import re
  import sys
keep keep keep replace replace replace keep keep keep keep keep
 Simplified sqlite backend ImproperlyConfigured check now that we don't support Python 2.4

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15932 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/db/backends/sqlite3/base.py