From: L0stLink <36127183+L0stLink@users.noreply.github.com> Date: Sat, 2 Nov 2019 10:09:03 +0000 (+0500) Subject: fixed typo in session.py in line 3063 X-Git-Tag: rel_1_3_11~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec6314b06320ea3f1af7d68902872556e58c052e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fixed typo in session.py in line 3063 Changed : wish to detect is a "rollback" is to : wish to detect if a "rollback" is , improving clarity. (cherry picked from commit 7f260c95d65f9bb77e4e0bbb8ef78f57b183fc7c) --- diff --git a/lib/sqlalchemy/orm/session.py b/lib/sqlalchemy/orm/session.py index f050f3631f..971bc27862 100644 --- a/lib/sqlalchemy/orm/session.py +++ b/lib/sqlalchemy/orm/session.py @@ -3025,7 +3025,7 @@ class Session(_SessionClassMethods): "partial rollback" state. From all the above, it follows that the only purpose to this flag is - for application frameworks that wish to detect is a "rollback" is + for application frameworks that wish to detect if a "rollback" is necessary within a generic error handling routine, for :class:`.Session` objects that would otherwise be in "partial rollback" mode. In a typical integration case, this is also