This is an automated email from the ASF dual-hosted git repository.

gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 6991bec  DISPATCH-1254 - Fix a corner cases, usually when a router is 
just starting up, where the validOrigins list can come across as None. This 
closes #444.
6991bec is described below

commit 6991beced175939222c92cffd3c230bd281be8c4
Author: Ganesh Murthy <gmur...@redhat.com>
AuthorDate: Wed Jan 23 13:16:06 2019 -0500

    DISPATCH-1254 - Fix a corner cases, usually when a router is just starting 
up, where the validOrigins list can come across as None. This closes #444.
---
 tools/qdstat.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/qdstat.in b/tools/qdstat.in
index 7f767c2..b0846e0 100755
--- a/tools/qdstat.in
+++ b/tools/qdstat.in
@@ -284,6 +284,8 @@ class BusManager(Node):
 
     def _list_clean(self, inlist):
         outlist = []
+        if not inlist:
+            return outlist
         for i in inlist:
             outlist.append(str(i))
         return outlist


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

Reply via email to