You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2011/03/01 17:32:36 UTC
[jira] Resolved: (QPID-3063) Python Client messaging/endpoints.py
Connection Class: def check_closed(self): method crashes when called.
[ https://issues.apache.org/jira/browse/QPID-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gordon Sim resolved QPID-3063.
------------------------------
Resolution: Fixed
> 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
> Assignee: Gordon Sim
> Priority: Trivial
> Fix For: 0.9
>
> Attachments: QPID-3063.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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-subscribe@qpid.apache.org