You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2017/08/18 20:05:20 UTC

qpid-interop-test git commit: NO-JIRA: debug print to print whole message as single large string

Repository: qpid-interop-test
Updated Branches:
  refs/heads/master d27dfca15 -> f920bdf76


NO-JIRA: debug print to print whole message as single large string

Printing lists in pieces tends to having sender and receiver output
interleaved to produce illegible output. Printing large strings
improves chances that messages are printed whole.


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/f920bdf7
Tree: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/tree/f920bdf7
Diff: http://git-wip-us.apache.org/repos/asf/qpid-interop-test/diff/f920bdf7

Branch: refs/heads/master
Commit: f920bdf76099a5415a798cc80eb4cd9c1b633bb6
Parents: d27dfca
Author: Chuck Rolke <cr...@redhat.com>
Authored: Fri Aug 18 16:02:19 2017 -0400
Committer: Chuck Rolke <cr...@redhat.com>
Committed: Fri Aug 18 16:02:19 2017 -0400

----------------------------------------------------------------------
 src/python/qpid_interop_test/shims.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-interop-test/blob/f920bdf7/src/python/qpid_interop_test/shims.py
----------------------------------------------------------------------
diff --git a/src/python/qpid_interop_test/shims.py b/src/python/qpid_interop_test/shims.py
index e73dfaa..df36c4f 100644
--- a/src/python/qpid_interop_test/shims.py
+++ b/src/python/qpid_interop_test/shims.py
@@ -100,7 +100,7 @@ class Sender(ShimWorkerThread):
     def run(self):
         """Thread starts here"""
         try:
-            #print '\n>>SNDR>>', self.arg_list # DEBUG - useful to see command-line sent to shim
+            #print str('\n>>SNDR>>' + str(self.arg_list)) # DEBUG - useful to see command-line sent to shim
             self.proc = Popen(self.arg_list, stdout=PIPE, stderr=PIPE, shell=self.use_shell_flag, preexec_fn=setsid)
             (stdoutdata, stderrdata) = self.proc.communicate()
             if len(stderrdata) > 0:
@@ -134,7 +134,7 @@ class Receiver(ShimWorkerThread):
     def run(self):
         """Thread starts here"""
         try:
-            #print '\n>>RCVR>>', self.arg_list # DEBUG - useful to see command-line sent to shim
+            #print str('\n>>RCVR>>' + str(self.arg_list)) # DEBUG - useful to see command-line sent to shim
             self.proc = Popen(self.arg_list, stdout=PIPE, stderr=PIPE, preexec_fn=setsid)
             (stdoutdata, stderrdata) = self.proc.communicate()
             if len(stderrdata) > 0:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org