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

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

     [ https://issues.apache.org/jira/browse/QPID-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross reassigned QPID-4537:
------------------------------

    Assignee: Ted Ross
    
> 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.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