{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/24","id":69347931,"html_url":"https://github.com/LudovicRousseau/pyscard/pull/24","diff_url":"https://github.com/LudovicRousseau/pyscard/pull/24.diff","patch_url":"https://github.com/LudovicRousseau/pyscard/pull/24.patch","issue_url":"https://api.github.com/repos/LudovicRousseau/pyscard/issues/24","number":24,"state":"closed","locked":false,"title":"Add context management for CardConnection.","user":{"login":"NormanDenayer","id":1113975,"avatar_url":"https://avatars.githubusercontent.com/u/1113975?v=3","gravatar_id":"","url":"https://api.github.com/users/NormanDenayer","html_url":"https://github.com/NormanDenayer","followers_url":"https://api.github.com/users/NormanDenayer/followers","following_url":"https://api.github.com/users/NormanDenayer/following{/other_user}","gists_url":"https://api.github.com/users/NormanDenayer/gists{/gist_id}","starred_url":"https://api.github.com/users/NormanDenayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NormanDenayer/subscriptions","organizations_url":"https://api.github.com/users/NormanDenayer/orgs","repos_url":"https://api.github.com/users/NormanDenayer/repos","events_url":"https://api.github.com/users/NormanDenayer/events{/privacy}","received_events_url":"https://api.github.com/users/NormanDenayer/received_events","type":"User","site_admin":false},"body":"A context manager to handle the card connection in a proper way.\r\nIt makes sure, the function disconnect is called when the context is exited. ","created_at":"2016-05-09T13:49:35Z","updated_at":"2016-05-27T07:28:15Z","closed_at":"2016-05-27T07:28:15Z","merged_at":null,"merge_commit_sha":"b008522359e2cd1e7aa3db290e3ad05f071c1ae0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/24/commits","review_comments_url":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/24/comments","review_comment_url":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LudovicRousseau/pyscard/issues/24/comments","statuses_url":"https://api.github.com/repos/LudovicRousseau/pyscard/statuses/c7e6884e2570be9c6c4539ccf2eeaa954bcd39f6","head":{"label":"NormanDenayer:features/connection_context","ref":"features/connection_context","sha":"c7e6884e2570be9c6c4539ccf2eeaa954bcd39f6","user":{"login":"NormanDenayer","id":1113975,"avatar_url":"https://avatars.githubusercontent.com/u/1113975?v=3","gravatar_id":"","url":"https://api.github.com/users/NormanDenayer","html_url":"https://github.com/NormanDenayer","followers_url":"https://api.github.com/users/NormanDenayer/followers","following_url":"https://api.github.com/users/NormanDenayer/following{/other_user}","gists_url":"https://api.github.com/users/NormanDenayer/gists{/gist_id}","starred_url":"https://api.github.com/users/NormanDenayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NormanDenayer/subscriptions","organizations_url":"https://api.github.com/users/NormanDenayer/orgs","repos_url":"https://api.github.com/users/NormanDenayer/repos","events_url":"https://api.github.com/users/NormanDenayer/events{/privacy}","received_events_url":"https://api.github.com/users/NormanDenayer/received_events","type":"User","site_admin":false},"repo":{"id":58211949,"name":"pyscard","full_name":"NormanDenayer/pyscard","owner":{"login":"NormanDenayer","id":1113975,"avatar_url":"https://avatars.githubusercontent.com/u/1113975?v=3","gravatar_id":"","url":"https://api.github.com/users/NormanDenayer","html_url":"https://github.com/NormanDenayer","followers_url":"https://api.github.com/users/NormanDenayer/followers","following_url":"https://api.github.com/users/NormanDenayer/following{/other_user}","gists_url":"https://api.github.com/users/NormanDenayer/gists{/gist_id}","starred_url":"https://api.github.com/users/NormanDenayer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NormanDenayer/subscriptions","organizations_url":"https://api.github.com/users/NormanDenayer/orgs","repos_url":"https://api.github.com/users/NormanDenayer/repos","events_url":"https://api.github.com/users/NormanDenayer/events{/privacy}","received_events_url":"https://api.github.com/users/NormanDenayer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NormanDenayer/pyscard","description":"pyscard smartcard library for python","fork":true,"url":"https://api.github.com/repos/NormanDenayer/pyscard","forks_url":"https://api.github.com/repos/NormanDenayer/pyscard/forks","keys_url":"https://api.github.com/repos/NormanDenayer/pyscard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NormanDenayer/pyscard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NormanDenayer/pyscard/teams","hooks_url":"https://api.github.com/repos/NormanDenayer/pyscard/hooks","issue_events_url":"https://api.github.com/repos/NormanDenayer/pyscard/issues/events{/number}","events_url":"https://api.github.com/repos/NormanDenayer/pyscard/events","assignees_url":"https://api.github.com/repos/NormanDenayer/pyscard/assignees{/user}","branches_url":"https://api.github.com/repos/NormanDenayer/pyscard/branches{/branch}","tags_url":"https://api.github.com/repos/NormanDenayer/pyscard/tags","blobs_url":"https://api.github.com/repos/NormanDenayer/pyscard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NormanDenayer/pyscard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NormanDenayer/pyscard/git/refs{/sha}","trees_url":"https://api.github.com/repos/NormanDenayer/pyscard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NormanDenayer/pyscard/statuses/{sha}","languages_url":"https://api.github.com/repos/NormanDenayer/pyscard/languages","stargazers_url":"https://api.github.com/repos/NormanDenayer/pyscard/stargazers","contributors_url":"https://api.github.com/repos/NormanDenayer/pyscard/contributors","subscribers_url":"https://api.github.com/repos/NormanDenayer/pyscard/subscribers","subscription_url":"https://api.github.com/repos/NormanDenayer/pyscard/subscription","commits_url":"https://api.github.com/repos/NormanDenayer/pyscard/commits{/sha}","git_commits_url":"https://api.github.com/repos/NormanDenayer/pyscard/git/commits{/sha}","comments_url":"https://api.github.com/repos/NormanDenayer/pyscard/comments{/number}","issue_comment_url":"https://api.github.com/repos/NormanDenayer/pyscard/issues/comments{/number}","contents_url":"https://api.github.com/repos/NormanDenayer/pyscard/contents/{+path}","compare_url":"https://api.github.com/repos/NormanDenayer/pyscard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NormanDenayer/pyscard/merges","archive_url":"https://api.github.com/repos/NormanDenayer/pyscard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NormanDenayer/pyscard/downloads","issues_url":"https://api.github.com/repos/NormanDenayer/pyscard/issues{/number}","pulls_url":"https://api.github.com/repos/NormanDenayer/pyscard/pulls{/number}","milestones_url":"https://api.github.com/repos/NormanDenayer/pyscard/milestones{/number}","notifications_url":"https://api.github.com/repos/NormanDenayer/pyscard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NormanDenayer/pyscard/labels{/name}","releases_url":"https://api.github.com/repos/NormanDenayer/pyscard/releases{/id}","deployments_url":"https://api.github.com/repos/NormanDenayer/pyscard/deployments","created_at":"2016-05-06T14:13:42Z","updated_at":"2016-05-06T14:13:43Z","pushed_at":"2016-05-09T09:26:07Z","git_url":"git://github.com/NormanDenayer/pyscard.git","ssh_url":"git@github.com:NormanDenayer/pyscard.git","clone_url":"https://github.com/NormanDenayer/pyscard.git","svn_url":"https://github.com/NormanDenayer/pyscard","homepage":"http://pyscard.sourceforge.net/","size":1029,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LudovicRousseau:master","ref":"master","sha":"30a1ab034acc1e33c4ec67d92e8f6c254a54e1e9","user":{"login":"LudovicRousseau","id":398496,"avatar_url":"https://avatars.githubusercontent.com/u/398496?v=3","gravatar_id":"","url":"https://api.github.com/users/LudovicRousseau","html_url":"https://github.com/LudovicRousseau","followers_url":"https://api.github.com/users/LudovicRousseau/followers","following_url":"https://api.github.com/users/LudovicRousseau/following{/other_user}","gists_url":"https://api.github.com/users/LudovicRousseau/gists{/gist_id}","starred_url":"https://api.github.com/users/LudovicRousseau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudovicRousseau/subscriptions","organizations_url":"https://api.github.com/users/LudovicRousseau/orgs","repos_url":"https://api.github.com/users/LudovicRousseau/repos","events_url":"https://api.github.com/users/LudovicRousseau/events{/privacy}","received_events_url":"https://api.github.com/users/LudovicRousseau/received_events","type":"User","site_admin":false},"repo":{"id":37548174,"name":"pyscard","full_name":"LudovicRousseau/pyscard","owner":{"login":"LudovicRousseau","id":398496,"avatar_url":"https://avatars.githubusercontent.com/u/398496?v=3","gravatar_id":"","url":"https://api.github.com/users/LudovicRousseau","html_url":"https://github.com/LudovicRousseau","followers_url":"https://api.github.com/users/LudovicRousseau/followers","following_url":"https://api.github.com/users/LudovicRousseau/following{/other_user}","gists_url":"https://api.github.com/users/LudovicRousseau/gists{/gist_id}","starred_url":"https://api.github.com/users/LudovicRousseau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LudovicRousseau/subscriptions","organizations_url":"https://api.github.com/users/LudovicRousseau/orgs","repos_url":"https://api.github.com/users/LudovicRousseau/repos","events_url":"https://api.github.com/users/LudovicRousseau/events{/privacy}","received_events_url":"https://api.github.com/users/LudovicRousseau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LudovicRousseau/pyscard","description":"pyscard smartcard library for python","fork":false,"url":"https://api.github.com/repos/LudovicRousseau/pyscard","forks_url":"https://api.github.com/repos/LudovicRousseau/pyscard/forks","keys_url":"https://api.github.com/repos/LudovicRousseau/pyscard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LudovicRousseau/pyscard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LudovicRousseau/pyscard/teams","hooks_url":"https://api.github.com/repos/LudovicRousseau/pyscard/hooks","issue_events_url":"https://api.github.com/repos/LudovicRousseau/pyscard/issues/events{/number}","events_url":"https://api.github.com/repos/LudovicRousseau/pyscard/events","assignees_url":"https://api.github.com/repos/LudovicRousseau/pyscard/assignees{/user}","branches_url":"https://api.github.com/repos/LudovicRousseau/pyscard/branches{/branch}","tags_url":"https://api.github.com/repos/LudovicRousseau/pyscard/tags","blobs_url":"https://api.github.com/repos/LudovicRousseau/pyscard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LudovicRousseau/pyscard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LudovicRousseau/pyscard/git/refs{/sha}","trees_url":"https://api.github.com/repos/LudovicRousseau/pyscard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LudovicRousseau/pyscard/statuses/{sha}","languages_url":"https://api.github.com/repos/LudovicRousseau/pyscard/languages","stargazers_url":"https://api.github.com/repos/LudovicRousseau/pyscard/stargazers","contributors_url":"https://api.github.com/repos/LudovicRousseau/pyscard/contributors","subscribers_url":"https://api.github.com/repos/LudovicRousseau/pyscard/subscribers","subscription_url":"https://api.github.com/repos/LudovicRousseau/pyscard/subscription","commits_url":"https://api.github.com/repos/LudovicRousseau/pyscard/commits{/sha}","git_commits_url":"https://api.github.com/repos/LudovicRousseau/pyscard/git/commits{/sha}","comments_url":"https://api.github.com/repos/LudovicRousseau/pyscard/comments{/number}","issue_comment_url":"https://api.github.com/repos/LudovicRousseau/pyscard/issues/comments{/number}","contents_url":"https://api.github.com/repos/LudovicRousseau/pyscard/contents/{+path}","compare_url":"https://api.github.com/repos/LudovicRousseau/pyscard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LudovicRousseau/pyscard/merges","archive_url":"https://api.github.com/repos/LudovicRousseau/pyscard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LudovicRousseau/pyscard/downloads","issues_url":"https://api.github.com/repos/LudovicRousseau/pyscard/issues{/number}","pulls_url":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls{/number}","milestones_url":"https://api.github.com/repos/LudovicRousseau/pyscard/milestones{/number}","notifications_url":"https://api.github.com/repos/LudovicRousseau/pyscard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LudovicRousseau/pyscard/labels{/name}","releases_url":"https://api.github.com/repos/LudovicRousseau/pyscard/releases{/id}","deployments_url":"https://api.github.com/repos/LudovicRousseau/pyscard/deployments","created_at":"2015-06-16T18:25:06Z","updated_at":"2016-04-08T07:29:26Z","pushed_at":"2016-05-23T15:38:31Z","git_url":"git://github.com/LudovicRousseau/pyscard.git","ssh_url":"git@github.com:LudovicRousseau/pyscard.git","clone_url":"https://github.com/LudovicRousseau/pyscard.git","svn_url":"https://github.com/LudovicRousseau/pyscard","homepage":"http://pyscard.sourceforge.net/","size":1247,"stargazers_count":27,"watchers_count":27,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/24"},"html":{"href":"https://github.com/LudovicRousseau/pyscard/pull/24"},"issue":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/issues/24"},"comments":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/LudovicRousseau/pyscard/statuses/c7e6884e2570be9c6c4539ccf2eeaa954bcd39f6"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"LudovicRousseau"}}