mirror of
https://github.com/django/django.git
synced 2025-10-26 23:26:08 +00:00
Fixed spelling mistakes in code and comments.
This commit is contained in:
committed by
Tim Graham
parent
cecc079168
commit
7d20094996
@@ -116,8 +116,8 @@ class CursorWrapper:
|
||||
return self
|
||||
|
||||
def __exit__(self, type, value, traceback):
|
||||
# Ticket #17671 - Close instead of passing thru to avoid backend
|
||||
# specific behavior.
|
||||
# Close instead of passing through to avoid backend-specific behavior
|
||||
# (#17671).
|
||||
self.close()
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user