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:03:54 +0200 |
| commit | a3570798929337baeba237c7e7eec35d9f2c18c4 (patch) | |
| tree | 1aea33b513cd1ead678aa5e249e5e1cd1d499e98 | |
| parent | d501c79f7b1635a01af13e094da47ac19c4365be (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 f6cadfc84b..f75137a168 100644 --- a/django/db/transaction.py +++ b/django/db/transaction.py @@ -318,8 +318,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: @@ -344,8 +344,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: |
