summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-09-11 00:52:03 +0000
committerRamiro Morales <cramm0@gmail.com>2011-09-11 00:52:03 +0000
commit83484cc109baf6aad645e7cace2183c2b7f9c181 (patch)
treea2e2d823817549e73ced576efe7252a3f4795996
parentccbca7a668b4d02408e707cb9ed34204a8094f01 (diff)
Fixed #14138 -- Removed a superfluous import in the sqlite3 DB backend.
This could be of help with some issues people were seeing when deploying Django with sqlite and Apache. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/db/backends/sqlite3/base.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index b45c0fb935..49b87a8da8 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -330,7 +330,6 @@ def _sqlite_format_dtdelta(dt, conn, days, secs, usecs):
return rv
def _sqlite_regexp(re_pattern, re_string):
- import re
try:
return bool(re.search(re_pattern, re_string))
except: