Repository: qpid-proton Updated Branches: refs/heads/master 061da30be -> 36f81e094
Revert "NO-JIRA: Fix protocol tracing for transactional states." This reverts commit 061da30be815467217ecb365cfc1d7581367ba32. The fix had already been made by: 4c6f212 * PROTON-723: based on gordon's patch, added support for the coordinator target Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/36f81e09 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/36f81e09 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/36f81e09 Branch: refs/heads/master Commit: 36f81e0941e616b1b3ed0df4035f994ea40df159 Parents: 061da30 Author: Alan Conway <[email protected]> Authored: Tue Nov 25 09:44:02 2014 -0500 Committer: Alan Conway <[email protected]> Committed: Tue Nov 25 09:44:02 2014 -0500 ---------------------------------------------------------------------- proton-c/src/protocol.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/36f81e09/proton-c/src/protocol.py ---------------------------------------------------------------------- diff --git a/proton-c/src/protocol.py b/proton-c/src/protocol.py index ae65150..685e63b 100644 --- a/proton-c/src/protocol.py +++ b/proton-c/src/protocol.py @@ -22,7 +22,6 @@ doc = mllib.xml_parse(os.path.join(os.path.dirname(__file__), "transport.xml")) mdoc = mllib.xml_parse(os.path.join(os.path.dirname(__file__), "messaging.xml")) tdoc = mllib.xml_parse(os.path.join(os.path.dirname(__file__), "transactions.xml")) sdoc = mllib.xml_parse(os.path.join(os.path.dirname(__file__), "security.xml")) -tdoc = mllib.xml_parse(os.path.join(os.path.dirname(__file__), "transactions.xml")) def eq(attr, value): return lambda nd: nd[attr] == value @@ -31,14 +30,12 @@ TYPES = doc.query["amqp/section/type", eq("@class", "composite")] + \ mdoc.query["amqp/section/type", eq("@class", "composite")] + \ tdoc.query["amqp/section/type", eq("@class", "composite")] + \ sdoc.query["amqp/section/type", eq("@class", "composite")] + \ - mdoc.query["amqp/section/type", eq("@provides", "section")] + \ - tdoc.query["amqp/section/type", eq("@class", "composite")] - + mdoc.query["amqp/section/type", eq("@provides", "section")] RESTRICTIONS = {} COMPOSITES = {} for type in doc.query["amqp/section/type"] + mdoc.query["amqp/section/type"] + \ - sdoc.query["amqp/section/type"] + tdoc.query["amqp/section/type"]: + sdoc.query["amqp/section/type"]: source = type["@source"] if source: RESTRICTIONS[type["@name"]] = source --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
