summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@rd.io>2012-09-07 15:06:23 -0400
committerAlex Gaynor <alex.gaynor@rd.io>2012-09-07 15:08:07 -0400
commit335a9f9cf1e2f40679e91cf42cfd0e636885a397 (patch)
tree1fa3e8a43e1bd0d884e5f810f229a3c35ed4381d /django/db/backends/sqlite3
parent257c4011cb887524048acb8796b130761617d195 (diff)
Removed many uses of bare "except:", which were either going to a) silence real issues, or b) were impossible to hit.
Diffstat (limited to 'django/db/backends/sqlite3')
-rw-r--r--django/db/backends/sqlite3/base.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/django/db/backends/sqlite3/base.py b/django/db/backends/sqlite3/base.py
index 31a16b6a2b..0f0b6b74e3 100644
--- a/django/db/backends/sqlite3/base.py
+++ b/django/db/backends/sqlite3/base.py
@@ -412,7 +412,4 @@ def _sqlite_format_dtdelta(dt, conn, days, secs, usecs):
return str(dt)
def _sqlite_regexp(re_pattern, re_string):
- try:
- return bool(re.search(re_pattern, re_string))
- except:
- return False
+ return bool(re.search(re_pattern, re_string))