diff options
| author | james mike dupont <jamesmikedupont@gmail.com> | 2017-01-19 05:00:41 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-19 08:20:15 -0500 |
| commit | b7621bbe8052fce7c0c179e3bde2d5c2b3758480 (patch) | |
| tree | 17a5aad622630ba723ccc0efdf28fb95ac0ad65b /django | |
| parent | 246bece37a570e1e4e8b6f94978777857c86c0d8 (diff) | |
[1.11.x] Fixed spelling mistakes in code and comments.
Backport of 7d200949968002d2c2b4390953e8bda7153a49c9 from master
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/backends/mysql/base.py | 4 | ||||
| -rw-r--r-- | django/db/backends/utils.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/django/db/backends/mysql/base.py b/django/db/backends/mysql/base.py index 7a59ecd612..d0487c5e30 100644 --- a/django/db/backends/mysql/base.py +++ b/django/db/backends/mysql/base.py @@ -137,8 +137,8 @@ class CursorWrapper(object): 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() diff --git a/django/db/backends/utils.py b/django/db/backends/utils.py index 73f1dbb690..e4ee025077 100644 --- a/django/db/backends/utils.py +++ b/django/db/backends/utils.py @@ -36,9 +36,9 @@ class CursorWrapper(object): 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: |
