Repository: qpid-proton Updated Branches: refs/heads/0.9.x 20ab710e4 -> c57ba7676
PROTON-1032: for python 2.4 compatibility never call super() from a class derived from Exception Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c57ba767 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/c57ba767 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/c57ba767 Branch: refs/heads/0.9.x Commit: c57ba7676b5a83f78caa4f49b7373a7ef94c71f1 Parents: 20ab710 Author: Ken Giusti <kgiu...@apache.org> Authored: Thu Oct 29 10:28:57 2015 -0400 Committer: Ken Giusti <kgiu...@apache.org> Committed: Thu Oct 29 10:28:57 2015 -0400 ---------------------------------------------------------------------- proton-c/bindings/python/proton/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/c57ba767/proton-c/bindings/python/proton/utils.py ---------------------------------------------------------------------- diff --git a/proton-c/bindings/python/proton/utils.py b/proton-c/bindings/python/proton/utils.py index b5ecdf7..c602a98 100644 --- a/proton-c/bindings/python/proton/utils.py +++ b/proton-c/bindings/python/proton/utils.py @@ -169,7 +169,7 @@ class LinkDetached(LinkException): else: txt += " by peer" self.condition = None - super(LinkDetached, self).__init__(txt) + LinkException.__init__(self, txt) class ConnectionClosed(ConnectionException): @@ -182,7 +182,7 @@ class ConnectionClosed(ConnectionException): else: txt += " by peer" self.condition = None - super(ConnectionClosed, self).__init__(txt) + ConnectionException.__init__(self, txt) class BlockingConnection(Handler): --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org