You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Zhigang Wang (JIRA)" <ji...@apache.org> on 2013/01/14 20:16:13 UTC

[jira] [Created] (QPID-4537) qpid-stat: fix undefined name error

Zhigang Wang created QPID-4537:
----------------------------------

             Summary: 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
            Priority: Minor
             Fix For: 0.19
         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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org