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

Add context management for CardConnection. #24

Closed
wants to merge 1 commit into from
Closed

Add context management for CardConnection. #24

wants to merge 1 commit into from

Conversation

rockwelln
Copy link
Contributor

A context manager to handle the card connection in a proper way.
It makes sure, the function disconnect is called when the context is exited.

@coveralls
Copy link

coveralls commented May 9, 2016

Coverage Status

Coverage increased (+0.04%) to 23.974% when pulling c7e6884 on NormanDenayer:features/connection_context into 30a1ab0 on LudovicRousseau:master.

@LudovicRousseau
Copy link
Owner

That is a very good idea.
I would like to add documentation and test code for this new feature. If you can help that would be fine and speed up the merge.

@LudovicRousseau
Copy link
Owner

fixed in fb276f8
Thanks

@rockwelln
Copy link
Contributor Author

Sorry I didn't had the time yet to update the doc and the tests as you mentioned. (I keep it in mind anyway)

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

3 participants