Repository: qpid-interop-test Updated Branches: refs/heads/master b07013efe -> 62aaea888
PROTON-1061: Fixed error in Python mapping in which int types were treated as AMQP type long. Fix to paths in QUICKSTART text file. Project: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/commit/62aaea88 Tree: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/tree/62aaea88 Diff: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/diff/62aaea88 Branch: refs/heads/master Commit: 62aaea88860c61f60fb363a02e493d1fd55e1474 Parents: b07013e Author: Kim van der Riet <[email protected]> Authored: Tue Feb 9 09:37:11 2016 -0500 Committer: Kim van der Riet <[email protected]> Committed: Tue Feb 9 09:37:11 2016 -0500 ---------------------------------------------------------------------- QUICKSTART | 2 +- shims/qpid-proton-python/src/JmsSenderShim.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/62aaea88/QUICKSTART ---------------------------------------------------------------------- diff --git a/QUICKSTART b/QUICKSTART index e2af49c..e95628e 100644 --- a/QUICKSTART +++ b/QUICKSTART @@ -52,7 +52,7 @@ export QPID_INTEROP_TEST_HOME=<abs path to top level qpid-interop-test directory qpid-proton built but not installed: Assuming proton's "make" has been run from a "build" directory as described in the proton README (but not make install), from top level qpid-interop-test directory: -export PYTHONPATH=<abs path to top level qpid-proton directory>/proton-c/bindings/py:<abs path to top level qpid-proton directory>/build/proton-c/bindings/py:src/py/qpid-interop-test +export PYTHONPATH=<abs path to top level qpid-proton directory>/proton-c/bindings/python:<abs path to top level qpid-proton directory>/build/proton-c/bindings/python:src/py/qpid-interop-test export LD_LIBRARY_PATH=<abs path to top level qpid-proton directory>/build/proton-c export QPID_INTEROP_TEST_HOME=<abs path to top level qpid-interop-test directory> http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/62aaea88/shims/qpid-proton-python/src/JmsSenderShim.py ---------------------------------------------------------------------- diff --git a/shims/qpid-proton-python/src/JmsSenderShim.py b/shims/qpid-proton-python/src/JmsSenderShim.py index 6f0d1be..7a4cf1d 100755 --- a/shims/qpid-proton-python/src/JmsSenderShim.py +++ b/shims/qpid-proton-python/src/JmsSenderShim.py @@ -154,7 +154,7 @@ class JmsSenderShim(MessagingHandler): elif test_value_type == 'int': value = int32(int(test_value, 16)) elif test_value_type == 'long': - value = int(test_value, 16) + value = long(test_value, 16) elif test_value_type == 'short': value = short(int(test_value, 16)) elif test_value_type == 'string': @@ -203,7 +203,7 @@ class JmsSenderShim(MessagingHandler): elif test_value_type == 'int': body_list = [int32(int(test_value, 16))] elif test_value_type == 'long': - body_list = [int(test_value, 16)] + body_list = [long(test_value, 16)] elif test_value_type == 'short': body_list = [short(int(test_value, 16))] elif test_value_type == 'string': --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
