[ https://issues.apache.org/jira/browse/QPID-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Ross resolved QPID-4537. ---------------------------- Resolution: Fixed > qpid-stat: fix undefined name error > ----------------------------------- > > Key: QPID-4537 > URL: https://issues.apache.org/jira/browse/QPID-4537 > Project: Qpid > Issue Type: Bug > Components: Python Tools > Affects Versions: 0.18, 0.19 > Reporter: Zhigang Wang > Assignee: Ted Ross > Priority: Minor > Labels: patch > Fix For: 0.21 > > Attachments: qpid-stat.patch > > > qpid/tools/src/py/qpid-stat should use self.connection instead of connection: > Traceback (most recent call last): > File "./qpid-stat", line 568, in <module> > sys.exit(main()) > File "./qpid-stat", line 564, in main > bm.Disconnect() # try to deallocate brokers > File "./qpid-stat", line 158, in Disconnect > connection.close() > NameError: global name 'connection' is not defined -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org