Python Client messaging/endpoints.py Connection Class:  def check_closed(self): 
method crashes when called.
-----------------------------------------------------------------------------------------------------------

                 Key: QPID-3063
                 URL: https://issues.apache.org/jira/browse/QPID-3063
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.7
         Environment: RHEL 5.0 Python2.7
            Reporter: Nick Capito
            Priority: Trivial


When calling the Connection Classes .check_closed method an exception is raised:

Traceback (most recent call last):
  File "<test>/Harness_Test.py", line 24, in test_create_connection
    self.assertFalse(connection.check_closed() )
  File "/usr/local/lib/python2.7/site-packages/qpid/messaging/endpoints.py", 
line 200, in check_closed
    if self.closed:
AttributeError: Connection instance has no attribute 'closed'



The fix is pretty simple, get rid of the method, or add a self.closed flag to 
indicate failure...


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to