You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by pm...@apache.org on 2014/07/01 14:18:28 UTC

svn commit: r1607061 - /qpid/trunk/qpid/tools/src/py/qpid-config

Author: pmoravec
Date: Tue Jul  1 12:18:28 2014
New Revision: 1607061

URL: http://svn.apache.org/r1607061
Log:
[QPID-5863]: qpid-config does not throws correct exception when binding nonexisting exchange; fix from Zdenek Kraus

Modified:
    qpid/trunk/qpid/tools/src/py/qpid-config

Modified: qpid/trunk/qpid/tools/src/py/qpid-config
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/tools/src/py/qpid-config?rev=1607061&r1=1607060&r2=1607061&view=diff
==============================================================================
--- qpid/trunk/qpid/tools/src/py/qpid-config (original)
+++ qpid/trunk/qpid/tools/src/py/qpid-config Tue Jul  1 12:18:28 2014
@@ -672,7 +672,9 @@ class BrokerManager:
         # args are ignored.
         ok = True
         _args = {}
-        if res.type == "xml":
+        if not res:
+            pass
+        elif res.type == "xml":
             # this checks/imports the -f arg
             [ok, xquery] = snarf_xquery_args()
             _args = { "xquery" : xquery }



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