mirror of
https://github.com/django/django.git
synced 2025-01-22 00:02:15 +00:00
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
This commit is contained in:
parent
ccbca7a668
commit
83484cc109
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user