Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4537

qpid-stat: fix undefined name error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.18, 0.19
    • Fix Version/s: 0.21
    • Component/s: C++ 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

        Attachments

        1. qpid-stat.patch
          0.4 kB
          Zhigang Wang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: