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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development