Qpid
  1. Qpid
  2. QPID-4537

qpid-stat: fix undefined name error

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.18, 0.19
    • Fix Version/s: 0.21
    • Component/s: Python Tools
    • Labels:

      Description

      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

      1. qpid-stat.patch
        0.4 kB
        Zhigang Wang

        Activity

        Zhigang Wang created issue -
        Zhigang Wang made changes -
        Field Original Value New Value
        Attachment qpid-stat.patch [ 12564754 ]
        Ted Ross made changes -
        Assignee Ted Ross [ tedross ]
        Ted Ross made changes -
        Fix Version/s 0.21 [ 12323549 ]
        Fix Version/s 0.19 [ 12322452 ]
        Ted Ross made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Ross
            Reporter:
            Zhigang Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development