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

qpid-stat: fix undefined name error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18, 0.19
    • 0.21
    • C++ Tools

    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

            tross Ted Ross
            zhigang Zhigang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: