Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using getattr in qpid.Transport.__del__ #668

Merged
merged 1 commit into from
Nov 30, 2016

Conversation

bmbouter
Copy link
Contributor

The init function calls verify_runtime_environment before setting
the use_async_interface variable. If it throws an exception in that
function, the del method will be called, and raises an
AttributeError

using getattr in the del method to guard against this

The __init__ function calls verify_runtime_environment before setting
the use_async_interface variable.  If it throws an exception in that
function, the __del__ method will be called, and raises an
AttributeError

using getattr in the __del__ method to guard against this
@coveralls
Copy link

coveralls commented Nov 30, 2016

Coverage Status

Coverage remained the same at 79.663% when pulling 3226047 on bmbouter:backport-658-to-3.0 into cf2ca7c on celery:3.0.

@auvipy auvipy merged commit 249e565 into celery:3.0 Nov 30, 2016
@bmbouter bmbouter deleted the backport-658-to-3.0 branch December 3, 2016 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants