diff options
| author | Pavel Moravec <pmoravec@apache.org> | 2014-07-01 12:18:28 +0000 |
|---|---|---|
| committer | Pavel Moravec <pmoravec@apache.org> | 2014-07-01 12:18:28 +0000 |
| commit | e6cbd0566da7f59840d5d1353b2a9f608a2dc333 (patch) | |
| tree | 1df3d4aa473f597bc15b5b116543e43c5cc6c8c4 /qpid/tools/src | |
| parent | ddcf6ad3fa05ef992b79cd99543de6d4d6a9295b (diff) | |
| download | qpid-python-e6cbd0566da7f59840d5d1353b2a9f608a2dc333.tar.gz | |
[QPID-5863]: qpid-config does not throws correct exception when binding nonexisting exchange; fix from Zdenek Kraus
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607061 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/tools/src')
| -rwxr-xr-x | qpid/tools/src/py/qpid-config | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/tools/src/py/qpid-config b/qpid/tools/src/py/qpid-config index f3603ef742..c62fa195d7 100755 --- a/qpid/tools/src/py/qpid-config +++ b/qpid/tools/src/py/qpid-config @@ -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 } |
