summaryrefslogtreecommitdiff
path: root/django/db/backends/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/utils.py')
-rw-r--r--django/db/backends/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py
index f6cb59a086..3baff0d3d5 100644
--- a/django/db/backends/utils.py
+++ b/django/db/backends/utils.py
@@ -34,9 +34,9 @@ class CursorWrapper:
return self
def __exit__(self, type, value, traceback):
- # Ticket #17671 - Close instead of passing thru to avoid backend
- # specific behavior. Catch errors liberally because errors in cleanup
- # code aren't useful.
+ # Close instead of passing through to avoid backend-specific behavior
+ # (#17671). Catch errors liberally because errors in cleanup code
+ # aren't useful.
try:
self.close()
except self.db.Database.Error: