{"action":"created","comment":{"url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/comments/204405960","pull_request_review_id":139479038,"id":204405960,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNDQwNTk2MA==","diff_hunk":"@@ -237,10 +239,11 @@ def from_response(response, method=None):\n                 # Gnocchi json\n                 desc = body.get('description')\n                 if desc:\n-                    for enhanced_cls in enhanced_classes:\n-                        if enhanced_cls.match.match(desc):\n-                            cls = enhanced_cls\n-                            break\n+                    if isinstance(desc, six.text_type):","path":"gnocchiclient/exceptions.py","position":null,"original_position":17,"commit_id":"e38b3c3a3d549af6369d32403bd13cd074df0869","original_commit_id":"539485d32f4d235351a71948ed29ef3a5a4bdf60","user":{"login":"jd","id":2644,"node_id":"MDQ6VXNlcjI2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2644?v=4","gravatar_id":"","url":"https://api.github.com/users/jd","html_url":"https://github.com/jd","followers_url":"https://api.github.com/users/jd/followers","following_url":"https://api.github.com/users/jd/following{/other_user}","gists_url":"https://api.github.com/users/jd/gists{/gist_id}","starred_url":"https://api.github.com/users/jd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd/subscriptions","organizations_url":"https://api.github.com/users/jd/orgs","repos_url":"https://api.github.com/users/jd/repos","events_url":"https://api.github.com/users/jd/events{/privacy}","received_events_url":"https://api.github.com/users/jd/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-07-23T13:46:16Z","updated_at":"2018-07-23T13:46:17Z","html_url":"https://github.com/gnocchixyz/python-gnocchiclient/pull/91#discussion_r204405960","pull_request_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/comments/204405960"},"html":{"href":"https://github.com/gnocchixyz/python-gnocchiclient/pull/91#discussion_r204405960"},"pull_request":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91"}},"in_reply_to_id":204392414},"pull_request":{"url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91","id":203205273,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAzMjA1Mjcz","html_url":"https://github.com/gnocchixyz/python-gnocchiclient/pull/91","diff_url":"https://github.com/gnocchixyz/python-gnocchiclient/pull/91.diff","patch_url":"https://github.com/gnocchixyz/python-gnocchiclient/pull/91.patch","issue_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues/91","number":91,"state":"open","locked":false,"title":"exeptions: fix matching when description is a dict","user":{"login":"jd","id":2644,"node_id":"MDQ6VXNlcjI2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2644?v=4","gravatar_id":"","url":"https://api.github.com/users/jd","html_url":"https://github.com/jd","followers_url":"https://api.github.com/users/jd/followers","following_url":"https://api.github.com/users/jd/following{/other_user}","gists_url":"https://api.github.com/users/jd/gists{/gist_id}","starred_url":"https://api.github.com/users/jd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd/subscriptions","organizations_url":"https://api.github.com/users/jd/orgs","repos_url":"https://api.github.com/users/jd/repos","events_url":"https://api.github.com/users/jd/events{/privacy}","received_events_url":"https://api.github.com/users/jd/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-23T12:37:51Z","updated_at":"2018-07-23T13:46:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42b314111a14b88b7c626522c232d56d76b9b8b2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91/commits","review_comments_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91/comments","review_comment_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues/91/comments","statuses_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/statuses/e38b3c3a3d549af6369d32403bd13cd074df0869","head":{"label":"jd:fix-exception-matching","ref":"fix-exception-matching","sha":"e38b3c3a3d549af6369d32403bd13cd074df0869","user":{"login":"jd","id":2644,"node_id":"MDQ6VXNlcjI2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2644?v=4","gravatar_id":"","url":"https://api.github.com/users/jd","html_url":"https://github.com/jd","followers_url":"https://api.github.com/users/jd/followers","following_url":"https://api.github.com/users/jd/following{/other_user}","gists_url":"https://api.github.com/users/jd/gists{/gist_id}","starred_url":"https://api.github.com/users/jd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd/subscriptions","organizations_url":"https://api.github.com/users/jd/orgs","repos_url":"https://api.github.com/users/jd/repos","events_url":"https://api.github.com/users/jd/events{/privacy}","received_events_url":"https://api.github.com/users/jd/received_events","type":"User","site_admin":false},"repo":{"id":92493407,"node_id":"MDEwOlJlcG9zaXRvcnk5MjQ5MzQwNw==","name":"python-gnocchiclient","full_name":"jd/python-gnocchiclient","owner":{"login":"jd","id":2644,"node_id":"MDQ6VXNlcjI2NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2644?v=4","gravatar_id":"","url":"https://api.github.com/users/jd","html_url":"https://github.com/jd","followers_url":"https://api.github.com/users/jd/followers","following_url":"https://api.github.com/users/jd/following{/other_user}","gists_url":"https://api.github.com/users/jd/gists{/gist_id}","starred_url":"https://api.github.com/users/jd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jd/subscriptions","organizations_url":"https://api.github.com/users/jd/orgs","repos_url":"https://api.github.com/users/jd/repos","events_url":"https://api.github.com/users/jd/events{/privacy}","received_events_url":"https://api.github.com/users/jd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jd/python-gnocchiclient","description":"Python client from Gnocchi","fork":true,"url":"https://api.github.com/repos/jd/python-gnocchiclient","forks_url":"https://api.github.com/repos/jd/python-gnocchiclient/forks","keys_url":"https://api.github.com/repos/jd/python-gnocchiclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jd/python-gnocchiclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jd/python-gnocchiclient/teams","hooks_url":"https://api.github.com/repos/jd/python-gnocchiclient/hooks","issue_events_url":"https://api.github.com/repos/jd/python-gnocchiclient/issues/events{/number}","events_url":"https://api.github.com/repos/jd/python-gnocchiclient/events","assignees_url":"https://api.github.com/repos/jd/python-gnocchiclient/assignees{/user}","branches_url":"https://api.github.com/repos/jd/python-gnocchiclient/branches{/branch}","tags_url":"https://api.github.com/repos/jd/python-gnocchiclient/tags","blobs_url":"https://api.github.com/repos/jd/python-gnocchiclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jd/python-gnocchiclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jd/python-gnocchiclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/jd/python-gnocchiclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jd/python-gnocchiclient/statuses/{sha}","languages_url":"https://api.github.com/repos/jd/python-gnocchiclient/languages","stargazers_url":"https://api.github.com/repos/jd/python-gnocchiclient/stargazers","contributors_url":"https://api.github.com/repos/jd/python-gnocchiclient/contributors","subscribers_url":"https://api.github.com/repos/jd/python-gnocchiclient/subscribers","subscription_url":"https://api.github.com/repos/jd/python-gnocchiclient/subscription","commits_url":"https://api.github.com/repos/jd/python-gnocchiclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/jd/python-gnocchiclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/jd/python-gnocchiclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/jd/python-gnocchiclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/jd/python-gnocchiclient/contents/{+path}","compare_url":"https://api.github.com/repos/jd/python-gnocchiclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jd/python-gnocchiclient/merges","archive_url":"https://api.github.com/repos/jd/python-gnocchiclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jd/python-gnocchiclient/downloads","issues_url":"https://api.github.com/repos/jd/python-gnocchiclient/issues{/number}","pulls_url":"https://api.github.com/repos/jd/python-gnocchiclient/pulls{/number}","milestones_url":"https://api.github.com/repos/jd/python-gnocchiclient/milestones{/number}","notifications_url":"https://api.github.com/repos/jd/python-gnocchiclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jd/python-gnocchiclient/labels{/name}","releases_url":"https://api.github.com/repos/jd/python-gnocchiclient/releases{/id}","deployments_url":"https://api.github.com/repos/jd/python-gnocchiclient/deployments","created_at":"2017-05-26T09:12:33Z","updated_at":"2017-05-26T09:12:35Z","pushed_at":"2018-07-23T13:46:14Z","git_url":"git://github.com/jd/python-gnocchiclient.git","ssh_url":"git@github.com:jd/python-gnocchiclient.git","clone_url":"https://github.com/jd/python-gnocchiclient.git","svn_url":"https://github.com/jd/python-gnocchiclient","homepage":"http://gnocchi.xyz/gnocchiclient","size":470,"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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gnocchixyz:master","ref":"master","sha":"a12c6a22bec62b21e25f79b028bb805c0400efd0","user":{"login":"gnocchixyz","id":26142905,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2MTQyOTA1","avatar_url":"https://avatars0.githubusercontent.com/u/26142905?v=4","gravatar_id":"","url":"https://api.github.com/users/gnocchixyz","html_url":"https://github.com/gnocchixyz","followers_url":"https://api.github.com/users/gnocchixyz/followers","following_url":"https://api.github.com/users/gnocchixyz/following{/other_user}","gists_url":"https://api.github.com/users/gnocchixyz/gists{/gist_id}","starred_url":"https://api.github.com/users/gnocchixyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnocchixyz/subscriptions","organizations_url":"https://api.github.com/users/gnocchixyz/orgs","repos_url":"https://api.github.com/users/gnocchixyz/repos","events_url":"https://api.github.com/users/gnocchixyz/events{/privacy}","received_events_url":"https://api.github.com/users/gnocchixyz/received_events","type":"Organization","site_admin":false},"repo":{"id":89215652,"node_id":"MDEwOlJlcG9zaXRvcnk4OTIxNTY1Mg==","name":"python-gnocchiclient","full_name":"gnocchixyz/python-gnocchiclient","owner":{"login":"gnocchixyz","id":26142905,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2MTQyOTA1","avatar_url":"https://avatars0.githubusercontent.com/u/26142905?v=4","gravatar_id":"","url":"https://api.github.com/users/gnocchixyz","html_url":"https://github.com/gnocchixyz","followers_url":"https://api.github.com/users/gnocchixyz/followers","following_url":"https://api.github.com/users/gnocchixyz/following{/other_user}","gists_url":"https://api.github.com/users/gnocchixyz/gists{/gist_id}","starred_url":"https://api.github.com/users/gnocchixyz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnocchixyz/subscriptions","organizations_url":"https://api.github.com/users/gnocchixyz/orgs","repos_url":"https://api.github.com/users/gnocchixyz/repos","events_url":"https://api.github.com/users/gnocchixyz/events{/privacy}","received_events_url":"https://api.github.com/users/gnocchixyz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gnocchixyz/python-gnocchiclient","description":"Python client from Gnocchi","fork":false,"url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient","forks_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/forks","keys_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/teams","hooks_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/hooks","issue_events_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues/events{/number}","events_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/events","assignees_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/assignees{/user}","branches_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/branches{/branch}","tags_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/tags","blobs_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/statuses/{sha}","languages_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/languages","stargazers_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/stargazers","contributors_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/contributors","subscribers_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/subscribers","subscription_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/subscription","commits_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/contents/{+path}","compare_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/merges","archive_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/downloads","issues_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues{/number}","pulls_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls{/number}","milestones_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/milestones{/number}","notifications_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/labels{/name}","releases_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/releases{/id}","deployments_url":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/deployments","created_at":"2017-04-24T08:29:00Z","updated_at":"2018-07-17T12:55:36Z","pushed_at":"2018-07-23T13:46:11Z","git_url":"git://github.com/gnocchixyz/python-gnocchiclient.git","ssh_url":"git@github.com:gnocchixyz/python-gnocchiclient.git","clone_url":"https://github.com/gnocchixyz/python-gnocchiclient.git","svn_url":"https://github.com/gnocchixyz/python-gnocchiclient","homepage":"http://gnocchi.xyz/gnocchiclient","size":466,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":9,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":16,"open_issues":9,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91"},"html":{"href":"https://github.com/gnocchixyz/python-gnocchiclient/pull/91"},"issue":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues/91"},"comments":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/gnocchixyz/python-gnocchiclient/statuses/e38b3c3a3d549af6369d32403bd13cd074df0869"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jd"}}