From 335a9f9cf1e2f40679e91cf42cfd0e636885a397 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 7 Sep 2012 15:06:23 -0400 Subject: Removed many uses of bare "except:", which were either going to a) silence real issues, or b) were impossible to hit. --- django/db/backends/sqlite3/base.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'django/db/backends/sqlite3') 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)) -- cgit v1.3