Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 706231 Details for
Bug 872111
qpid-config traceback in case of ACL denial
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Supress traceback for ACL denial
qpid-config-bz872111.patch (text/plain), 1.33 KB, created by
Ernie
on 2013-03-06 20:37:31 UTC
(
hide
)
Description:
Supress traceback for ACL denial
Filename:
MIME Type:
Creator:
Ernie
Created:
2013-03-06 20:37:31 UTC
Size:
1.33 KB
patch
obsolete
>Index: qpid/tools/src/py/qpid-config >=================================================================== >--- qpid/tools/src/py/qpid-config (revision 1447816) >+++ qpid/tools/src/py/qpid-config (working copy) >@@ -377,9 +377,20 @@ > self.conn = Connection.establish(self.url, **conn_options) > self.broker = BrokerAgent(self.conn) > >- def Disconnect(self): >+ def Disconnect(self, ignore=True): > if self.conn: >- self.conn.close() >+ try: >+ self.conn.close() >+ except Exception, e: >+ if ignore: >+ # suppress close errors to avoid >+ # tracebacks when a previous >+ # exception will be printed to stdout >+ pass >+ else: >+ # raise last exception so complete >+ # trackback is preserved >+ raise > > def Overview(self): > exchanges = self.broker.getAllExchanges() >@@ -765,7 +776,7 @@ > # some commands take longer than the default amqp timeout to complete, > # so attempt to disconnect until successful, ignoring Timeouts > try: >- bm.Disconnect() >+ bm.Disconnect(ignore=False) > break > except Exception, e: > if e.__class__.__name__ != "Timeout":
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 872111
: 706231