{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/1","id":68480552,"html_url":"https://github.com/fweimer/fedora-secure-coding/pull/1","diff_url":"https://github.com/fweimer/fedora-secure-coding/pull/1.diff","patch_url":"https://github.com/fweimer/fedora-secure-coding/pull/1.patch","issue_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues/1","number":1,"state":"open","locked":false,"title":"Update TLS-Client-Python.py","user":{"login":"webdawg","id":1071152,"avatar_url":"https://avatars.githubusercontent.com/u/1071152?v=3","gravatar_id":"","url":"https://api.github.com/users/webdawg","html_url":"https://github.com/webdawg","followers_url":"https://api.github.com/users/webdawg/followers","following_url":"https://api.github.com/users/webdawg/following{/other_user}","gists_url":"https://api.github.com/users/webdawg/gists{/gist_id}","starred_url":"https://api.github.com/users/webdawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdawg/subscriptions","organizations_url":"https://api.github.com/users/webdawg/orgs","repos_url":"https://api.github.com/users/webdawg/repos","events_url":"https://api.github.com/users/webdawg/events{/privacy}","received_events_url":"https://api.github.com/users/webdawg/received_events","type":"User","site_admin":false},"body":"peercert[\"subject\"]\r\nreturns this:\r\n((('commonName', u'somehost.domain'),),)\r\n\r\nrunning\r\n\r\nfor attr, val\r\n\r\non it does this:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 801, in __bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python2.7/site-packages/electrum/interface.py\", line 208, in run\r\n    socket = self.get_socket()\r\n  File \"/usr/lib/python2.7/site-packages/bla/interface.py\", line 131, in get_socket\r\n    if s and self.check_host_name(s.getpeercert(), self.host):\r\n  File \"/usr/lib/python2.7/site-packages/bla/interface.py\", line 92, in check_host_name\r\n    for attr, val in peercert[\"subject\"]:\r\nValueError: need more than 1 value to unpack\r\n\r\nadding [0] creates the second value for val","created_at":"2016-04-30T22:17:01Z","updated_at":"2016-04-30T22:17:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/1/commits","review_comments_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/1/comments","review_comment_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues/1/comments","statuses_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/statuses/a94279e717224648edd1d6d57b96c069de5b5cf0","head":{"label":"webdawg:patch-1","ref":"patch-1","sha":"a94279e717224648edd1d6d57b96c069de5b5cf0","user":{"login":"webdawg","id":1071152,"avatar_url":"https://avatars.githubusercontent.com/u/1071152?v=3","gravatar_id":"","url":"https://api.github.com/users/webdawg","html_url":"https://github.com/webdawg","followers_url":"https://api.github.com/users/webdawg/followers","following_url":"https://api.github.com/users/webdawg/following{/other_user}","gists_url":"https://api.github.com/users/webdawg/gists{/gist_id}","starred_url":"https://api.github.com/users/webdawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdawg/subscriptions","organizations_url":"https://api.github.com/users/webdawg/orgs","repos_url":"https://api.github.com/users/webdawg/repos","events_url":"https://api.github.com/users/webdawg/events{/privacy}","received_events_url":"https://api.github.com/users/webdawg/received_events","type":"User","site_admin":false},"repo":{"id":57464087,"name":"fedora-secure-coding","full_name":"webdawg/fedora-secure-coding","owner":{"login":"webdawg","id":1071152,"avatar_url":"https://avatars.githubusercontent.com/u/1071152?v=3","gravatar_id":"","url":"https://api.github.com/users/webdawg","html_url":"https://github.com/webdawg","followers_url":"https://api.github.com/users/webdawg/followers","following_url":"https://api.github.com/users/webdawg/following{/other_user}","gists_url":"https://api.github.com/users/webdawg/gists{/gist_id}","starred_url":"https://api.github.com/users/webdawg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webdawg/subscriptions","organizations_url":"https://api.github.com/users/webdawg/orgs","repos_url":"https://api.github.com/users/webdawg/repos","events_url":"https://api.github.com/users/webdawg/events{/privacy}","received_events_url":"https://api.github.com/users/webdawg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/webdawg/fedora-secure-coding","description":"Fedora Secure Coding documentation","fork":true,"url":"https://api.github.com/repos/webdawg/fedora-secure-coding","forks_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/forks","keys_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/teams","hooks_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/hooks","issue_events_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/issues/events{/number}","events_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/events","assignees_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/assignees{/user}","branches_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/branches{/branch}","tags_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/tags","blobs_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/git/refs{/sha}","trees_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/statuses/{sha}","languages_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/languages","stargazers_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/stargazers","contributors_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/contributors","subscribers_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/subscribers","subscription_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/subscription","commits_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/commits{/sha}","git_commits_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/git/commits{/sha}","comments_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/comments{/number}","issue_comment_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/issues/comments{/number}","contents_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/contents/{+path}","compare_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/merges","archive_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/downloads","issues_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/issues{/number}","pulls_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/pulls{/number}","milestones_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/milestones{/number}","notifications_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/labels{/name}","releases_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/releases{/id}","deployments_url":"https://api.github.com/repos/webdawg/fedora-secure-coding/deployments","created_at":"2016-04-30T22:15:02Z","updated_at":"2016-04-30T22:15:04Z","pushed_at":"2016-04-30T22:16:10Z","git_url":"git://github.com/webdawg/fedora-secure-coding.git","ssh_url":"git@github.com:webdawg/fedora-secure-coding.git","clone_url":"https://github.com/webdawg/fedora-secure-coding.git","svn_url":"https://github.com/webdawg/fedora-secure-coding","homepage":null,"size":1933,"stargazers_count":0,"watchers_count":0,"language":"C","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":"fweimer:master","ref":"master","sha":"9eb72b454b83441329e9c84eb88041140d201ea3","user":{"login":"fweimer","id":2729073,"avatar_url":"https://avatars.githubusercontent.com/u/2729073?v=3","gravatar_id":"","url":"https://api.github.com/users/fweimer","html_url":"https://github.com/fweimer","followers_url":"https://api.github.com/users/fweimer/followers","following_url":"https://api.github.com/users/fweimer/following{/other_user}","gists_url":"https://api.github.com/users/fweimer/gists{/gist_id}","starred_url":"https://api.github.com/users/fweimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fweimer/subscriptions","organizations_url":"https://api.github.com/users/fweimer/orgs","repos_url":"https://api.github.com/users/fweimer/repos","events_url":"https://api.github.com/users/fweimer/events{/privacy}","received_events_url":"https://api.github.com/users/fweimer/received_events","type":"User","site_admin":false},"repo":{"id":11197966,"name":"fedora-secure-coding","full_name":"fweimer/fedora-secure-coding","owner":{"login":"fweimer","id":2729073,"avatar_url":"https://avatars.githubusercontent.com/u/2729073?v=3","gravatar_id":"","url":"https://api.github.com/users/fweimer","html_url":"https://github.com/fweimer","followers_url":"https://api.github.com/users/fweimer/followers","following_url":"https://api.github.com/users/fweimer/following{/other_user}","gists_url":"https://api.github.com/users/fweimer/gists{/gist_id}","starred_url":"https://api.github.com/users/fweimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fweimer/subscriptions","organizations_url":"https://api.github.com/users/fweimer/orgs","repos_url":"https://api.github.com/users/fweimer/repos","events_url":"https://api.github.com/users/fweimer/events{/privacy}","received_events_url":"https://api.github.com/users/fweimer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fweimer/fedora-secure-coding","description":"Fedora Secure Coding documentation","fork":false,"url":"https://api.github.com/repos/fweimer/fedora-secure-coding","forks_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/forks","keys_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/teams","hooks_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/hooks","issue_events_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues/events{/number}","events_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/events","assignees_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/assignees{/user}","branches_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/branches{/branch}","tags_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/tags","blobs_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/git/refs{/sha}","trees_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/statuses/{sha}","languages_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/languages","stargazers_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/stargazers","contributors_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/contributors","subscribers_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/subscribers","subscription_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/subscription","commits_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/commits{/sha}","git_commits_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/git/commits{/sha}","comments_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/comments{/number}","issue_comment_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues/comments{/number}","contents_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/contents/{+path}","compare_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/merges","archive_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/downloads","issues_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues{/number}","pulls_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls{/number}","milestones_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/milestones{/number}","notifications_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/labels{/name}","releases_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/releases{/id}","deployments_url":"https://api.github.com/repos/fweimer/fedora-secure-coding/deployments","created_at":"2013-07-05T11:17:44Z","updated_at":"2016-04-11T12:45:13Z","pushed_at":"2016-04-30T22:17:01Z","git_url":"git://github.com/fweimer/fedora-secure-coding.git","ssh_url":"git@github.com:fweimer/fedora-secure-coding.git","clone_url":"https://github.com/fweimer/fedora-secure-coding.git","svn_url":"https://github.com/fweimer/fedora-secure-coding","homepage":null,"size":1933,"stargazers_count":2,"watchers_count":2,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/1"},"html":{"href":"https://github.com/fweimer/fedora-secure-coding/pull/1"},"issue":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues/1"},"comments":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/fweimer/fedora-secure-coding/statuses/a94279e717224648edd1d6d57b96c069de5b5cf0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}