diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-04-11 23:01:00 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-04-11 23:01:00 +0200 |
| commit | 476db08b1600be76adc5da539c6f7c0603d47ee5 (patch) | |
| tree | 08a1466100a6e56b9c953fde418fe50e1d79ad0f | |
| parent | c487b1e2308968b659c2509e5dd40e56ebe4e63b (diff) | |
Improved a comment. Thanks intgr for the report.
| -rw-r--r-- | django/db/transaction.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/django/db/transaction.py b/django/db/transaction.py index 02859a2966..786bc53581 100644 --- a/django/db/transaction.py +++ b/django/db/transaction.py @@ -233,8 +233,8 @@ class Atomic(object): try: connection.rollback() except Error: - # Error during rollback means the connection was - # closed. Clean up in case the server dropped it. + # An error during rollback means that something + # went wrong with the connection. Drop it. connection.close() raise else: @@ -259,8 +259,8 @@ class Atomic(object): try: connection.rollback() except Error: - # Error during rollback means the connection was - # closed. Clean up in case the server dropped it. + # An error during rollback means that something + # went wrong with the connection. Drop it. connection.close() finally: |
