1
0
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:
james mike dupont
2017-01-19 05:00:41 -05:00
committed by Tim Graham
parent cecc079168
commit 7d20094996
7 changed files with 16 additions and 16 deletions

View File

@@ -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()

View File

@@ -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: