{"action":"created","comment":{"url":"https://api.github.com/repos/minrk/pamela/pulls/comments/180078141","pull_request_review_id":110434366,"id":180078141,"diff_hunk":"@@ -244,7 +292,7 @@ def pam_end(handle, retval):\n     raise PAMError(errno=retval)\n \n def authenticate(username, password=None, service='login', encoding='utf-8',\n-                 resetcred=PAM_REINITIALIZE_CRED):\n+                 resetcred=PAM_REINITIALIZE_CRED, close_txn=True):","path":"pamela.py","position":112,"original_position":112,"commit_id":"01bc266468eaae8c6a32a4e14d331460496be733","original_commit_id":"01bc266468eaae8c6a32a4e14d331460496be733","user":{"login":"minrk","id":151929,"avatar_url":"https://avatars1.githubusercontent.com/u/151929?v=4","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"body":"Can we call the arg `close`?","created_at":"2018-04-09T12:31:56Z","updated_at":"2018-04-09T12:32:36Z","html_url":"https://github.com/minrk/pamela/pull/10#discussion_r180078141","pull_request_url":"https://api.github.com/repos/minrk/pamela/pulls/10","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/minrk/pamela/pulls/comments/180078141"},"html":{"href":"https://github.com/minrk/pamela/pull/10#discussion_r180078141"},"pull_request":{"href":"https://api.github.com/repos/minrk/pamela/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/minrk/pamela/pulls/10","id":180183807,"html_url":"https://github.com/minrk/pamela/pull/10","diff_url":"https://github.com/minrk/pamela/pull/10.diff","patch_url":"https://github.com/minrk/pamela/pull/10.patch","issue_url":"https://api.github.com/repos/minrk/pamela/issues/10","number":10,"state":"open","locked":false,"title":"Add Environment Functions","user":{"login":"njwhite","id":912123,"avatar_url":"https://avatars0.githubusercontent.com/u/912123?v=4","gravatar_id":"","url":"https://api.github.com/users/njwhite","html_url":"https://github.com/njwhite","followers_url":"https://api.github.com/users/njwhite/followers","following_url":"https://api.github.com/users/njwhite/following{/other_user}","gists_url":"https://api.github.com/users/njwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/njwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njwhite/subscriptions","organizations_url":"https://api.github.com/users/njwhite/orgs","repos_url":"https://api.github.com/users/njwhite/repos","events_url":"https://api.github.com/users/njwhite/events{/privacy}","received_events_url":"https://api.github.com/users/njwhite/received_events","type":"User","site_admin":false},"body":"Add support for `pam_getenv`, `pam_putenv` & `pam_getenvlist` functions on a `PamHandle` object. Also modify `authenticate` to optionally leave the PAM transaction open & return the handle (so the environment can be queried).","created_at":"2018-04-08T22:19:48Z","updated_at":"2018-04-09T12:32:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd2a66cda0ae02a2a6dced635fea81d541d9e6c4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/minrk/pamela/pulls/10/commits","review_comments_url":"https://api.github.com/repos/minrk/pamela/pulls/10/comments","review_comment_url":"https://api.github.com/repos/minrk/pamela/pulls/comments{/number}","comments_url":"https://api.github.com/repos/minrk/pamela/issues/10/comments","statuses_url":"https://api.github.com/repos/minrk/pamela/statuses/01bc266468eaae8c6a32a4e14d331460496be733","head":{"label":"njwhite:master","ref":"master","sha":"01bc266468eaae8c6a32a4e14d331460496be733","user":{"login":"njwhite","id":912123,"avatar_url":"https://avatars0.githubusercontent.com/u/912123?v=4","gravatar_id":"","url":"https://api.github.com/users/njwhite","html_url":"https://github.com/njwhite","followers_url":"https://api.github.com/users/njwhite/followers","following_url":"https://api.github.com/users/njwhite/following{/other_user}","gists_url":"https://api.github.com/users/njwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/njwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njwhite/subscriptions","organizations_url":"https://api.github.com/users/njwhite/orgs","repos_url":"https://api.github.com/users/njwhite/repos","events_url":"https://api.github.com/users/njwhite/events{/privacy}","received_events_url":"https://api.github.com/users/njwhite/received_events","type":"User","site_admin":false},"repo":{"id":128684360,"name":"pamela","full_name":"njwhite/pamela","owner":{"login":"njwhite","id":912123,"avatar_url":"https://avatars0.githubusercontent.com/u/912123?v=4","gravatar_id":"","url":"https://api.github.com/users/njwhite","html_url":"https://github.com/njwhite","followers_url":"https://api.github.com/users/njwhite/followers","following_url":"https://api.github.com/users/njwhite/following{/other_user}","gists_url":"https://api.github.com/users/njwhite/gists{/gist_id}","starred_url":"https://api.github.com/users/njwhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njwhite/subscriptions","organizations_url":"https://api.github.com/users/njwhite/orgs","repos_url":"https://api.github.com/users/njwhite/repos","events_url":"https://api.github.com/users/njwhite/events{/privacy}","received_events_url":"https://api.github.com/users/njwhite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/njwhite/pamela","description":"Python PAM interface","fork":true,"url":"https://api.github.com/repos/njwhite/pamela","forks_url":"https://api.github.com/repos/njwhite/pamela/forks","keys_url":"https://api.github.com/repos/njwhite/pamela/keys{/key_id}","collaborators_url":"https://api.github.com/repos/njwhite/pamela/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/njwhite/pamela/teams","hooks_url":"https://api.github.com/repos/njwhite/pamela/hooks","issue_events_url":"https://api.github.com/repos/njwhite/pamela/issues/events{/number}","events_url":"https://api.github.com/repos/njwhite/pamela/events","assignees_url":"https://api.github.com/repos/njwhite/pamela/assignees{/user}","branches_url":"https://api.github.com/repos/njwhite/pamela/branches{/branch}","tags_url":"https://api.github.com/repos/njwhite/pamela/tags","blobs_url":"https://api.github.com/repos/njwhite/pamela/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/njwhite/pamela/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/njwhite/pamela/git/refs{/sha}","trees_url":"https://api.github.com/repos/njwhite/pamela/git/trees{/sha}","statuses_url":"https://api.github.com/repos/njwhite/pamela/statuses/{sha}","languages_url":"https://api.github.com/repos/njwhite/pamela/languages","stargazers_url":"https://api.github.com/repos/njwhite/pamela/stargazers","contributors_url":"https://api.github.com/repos/njwhite/pamela/contributors","subscribers_url":"https://api.github.com/repos/njwhite/pamela/subscribers","subscription_url":"https://api.github.com/repos/njwhite/pamela/subscription","commits_url":"https://api.github.com/repos/njwhite/pamela/commits{/sha}","git_commits_url":"https://api.github.com/repos/njwhite/pamela/git/commits{/sha}","comments_url":"https://api.github.com/repos/njwhite/pamela/comments{/number}","issue_comment_url":"https://api.github.com/repos/njwhite/pamela/issues/comments{/number}","contents_url":"https://api.github.com/repos/njwhite/pamela/contents/{+path}","compare_url":"https://api.github.com/repos/njwhite/pamela/compare/{base}...{head}","merges_url":"https://api.github.com/repos/njwhite/pamela/merges","archive_url":"https://api.github.com/repos/njwhite/pamela/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/njwhite/pamela/downloads","issues_url":"https://api.github.com/repos/njwhite/pamela/issues{/number}","pulls_url":"https://api.github.com/repos/njwhite/pamela/pulls{/number}","milestones_url":"https://api.github.com/repos/njwhite/pamela/milestones{/number}","notifications_url":"https://api.github.com/repos/njwhite/pamela/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/njwhite/pamela/labels{/name}","releases_url":"https://api.github.com/repos/njwhite/pamela/releases{/id}","deployments_url":"https://api.github.com/repos/njwhite/pamela/deployments","created_at":"2018-04-08T21:44:14Z","updated_at":"2018-04-08T22:18:33Z","pushed_at":"2018-04-08T22:18:32Z","git_url":"git://github.com/njwhite/pamela.git","ssh_url":"git@github.com:njwhite/pamela.git","clone_url":"https://github.com/njwhite/pamela.git","svn_url":"https://github.com/njwhite/pamela","homepage":"","size":33,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"minrk:master","ref":"master","sha":"4185e160027f9fc92cd0f3c5cd05c8bfeceab509","user":{"login":"minrk","id":151929,"avatar_url":"https://avatars1.githubusercontent.com/u/151929?v=4","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"repo":{"id":42103146,"name":"pamela","full_name":"minrk/pamela","owner":{"login":"minrk","id":151929,"avatar_url":"https://avatars1.githubusercontent.com/u/151929?v=4","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/minrk/pamela","description":"Python PAM interface","fork":true,"url":"https://api.github.com/repos/minrk/pamela","forks_url":"https://api.github.com/repos/minrk/pamela/forks","keys_url":"https://api.github.com/repos/minrk/pamela/keys{/key_id}","collaborators_url":"https://api.github.com/repos/minrk/pamela/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/minrk/pamela/teams","hooks_url":"https://api.github.com/repos/minrk/pamela/hooks","issue_events_url":"https://api.github.com/repos/minrk/pamela/issues/events{/number}","events_url":"https://api.github.com/repos/minrk/pamela/events","assignees_url":"https://api.github.com/repos/minrk/pamela/assignees{/user}","branches_url":"https://api.github.com/repos/minrk/pamela/branches{/branch}","tags_url":"https://api.github.com/repos/minrk/pamela/tags","blobs_url":"https://api.github.com/repos/minrk/pamela/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/minrk/pamela/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/minrk/pamela/git/refs{/sha}","trees_url":"https://api.github.com/repos/minrk/pamela/git/trees{/sha}","statuses_url":"https://api.github.com/repos/minrk/pamela/statuses/{sha}","languages_url":"https://api.github.com/repos/minrk/pamela/languages","stargazers_url":"https://api.github.com/repos/minrk/pamela/stargazers","contributors_url":"https://api.github.com/repos/minrk/pamela/contributors","subscribers_url":"https://api.github.com/repos/minrk/pamela/subscribers","subscription_url":"https://api.github.com/repos/minrk/pamela/subscription","commits_url":"https://api.github.com/repos/minrk/pamela/commits{/sha}","git_commits_url":"https://api.github.com/repos/minrk/pamela/git/commits{/sha}","comments_url":"https://api.github.com/repos/minrk/pamela/comments{/number}","issue_comment_url":"https://api.github.com/repos/minrk/pamela/issues/comments{/number}","contents_url":"https://api.github.com/repos/minrk/pamela/contents/{+path}","compare_url":"https://api.github.com/repos/minrk/pamela/compare/{base}...{head}","merges_url":"https://api.github.com/repos/minrk/pamela/merges","archive_url":"https://api.github.com/repos/minrk/pamela/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/minrk/pamela/downloads","issues_url":"https://api.github.com/repos/minrk/pamela/issues{/number}","pulls_url":"https://api.github.com/repos/minrk/pamela/pulls{/number}","milestones_url":"https://api.github.com/repos/minrk/pamela/milestones{/number}","notifications_url":"https://api.github.com/repos/minrk/pamela/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/minrk/pamela/labels{/name}","releases_url":"https://api.github.com/repos/minrk/pamela/releases{/id}","deployments_url":"https://api.github.com/repos/minrk/pamela/deployments","created_at":"2015-09-08T09:33:32Z","updated_at":"2018-03-14T07:18:06Z","pushed_at":"2018-04-08T22:19:49Z","git_url":"git://github.com/minrk/pamela.git","ssh_url":"git@github.com:minrk/pamela.git","clone_url":"https://github.com/minrk/pamela.git","svn_url":"https://github.com/minrk/pamela","homepage":"","size":28,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":8,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/minrk/pamela/pulls/10"},"html":{"href":"https://github.com/minrk/pamela/pull/10"},"issue":{"href":"https://api.github.com/repos/minrk/pamela/issues/10"},"comments":{"href":"https://api.github.com/repos/minrk/pamela/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/minrk/pamela/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/minrk/pamela/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/minrk/pamela/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/minrk/pamela/statuses/01bc266468eaae8c6a32a4e14d331460496be733"}},"author_association":"NONE"}}
{"actor":{"display_login":"minrk"}}