{"action":"opened","number":332,"pull_request":{"url":"https://api.github.com/repos/mitsuhiko/click/pulls/332","id":34070047,"html_url":"https://github.com/mitsuhiko/click/pull/332","diff_url":"https://github.com/mitsuhiko/click/pull/332.diff","patch_url":"https://github.com/mitsuhiko/click/pull/332.patch","issue_url":"https://api.github.com/repos/mitsuhiko/click/issues/332","number":332,"state":"open","locked":false,"title":"Conditionally display missing parameter message","user":{"login":"dirn","id":168109,"avatar_url":"https://avatars.githubusercontent.com/u/168109?v=3","gravatar_id":"","url":"https://api.github.com/users/dirn","html_url":"https://github.com/dirn","followers_url":"https://api.github.com/users/dirn/followers","following_url":"https://api.github.com/users/dirn/following{/other_user}","gists_url":"https://api.github.com/users/dirn/gists{/gist_id}","starred_url":"https://api.github.com/users/dirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirn/subscriptions","organizations_url":"https://api.github.com/users/dirn/orgs","repos_url":"https://api.github.com/users/dirn/repos","events_url":"https://api.github.com/users/dirn/events{/privacy}","received_events_url":"https://api.github.com/users/dirn/received_events","type":"User","site_admin":false},"body":"When building the message for a missing parameter, additional messaging\r\ncan be included. The additional messaging is added to the standard\r\nwording regardless of whether or not any such messaging exists. This\r\nresults in `None` appearing at the end of the error message.\r\n\r\nConditional logic is being added to prevent this from happening. This\r\nbehavior is consistent with other parts of building the message, most\r\nnotably when the period is added a space will be included if there is\r\nadditional messaging.","created_at":"2015-04-24T17:42:39Z","updated_at":"2015-04-24T17:42:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mitsuhiko/click/pulls/332/commits","review_comments_url":"https://api.github.com/repos/mitsuhiko/click/pulls/332/comments","review_comment_url":"https://api.github.com/repos/mitsuhiko/click/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitsuhiko/click/issues/332/comments","statuses_url":"https://api.github.com/repos/mitsuhiko/click/statuses/e56aa19810dd16e1888d11a36f5bb4de7bb579ad","head":{"label":"dirn:missing-parameter-messaging","ref":"missing-parameter-messaging","sha":"e56aa19810dd16e1888d11a36f5bb4de7bb579ad","user":{"login":"dirn","id":168109,"avatar_url":"https://avatars.githubusercontent.com/u/168109?v=3","gravatar_id":"","url":"https://api.github.com/users/dirn","html_url":"https://github.com/dirn","followers_url":"https://api.github.com/users/dirn/followers","following_url":"https://api.github.com/users/dirn/following{/other_user}","gists_url":"https://api.github.com/users/dirn/gists{/gist_id}","starred_url":"https://api.github.com/users/dirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirn/subscriptions","organizations_url":"https://api.github.com/users/dirn/orgs","repos_url":"https://api.github.com/users/dirn/repos","events_url":"https://api.github.com/users/dirn/events{/privacy}","received_events_url":"https://api.github.com/users/dirn/received_events","type":"User","site_admin":false},"repo":{"id":19710664,"name":"click","full_name":"dirn/click","owner":{"login":"dirn","id":168109,"avatar_url":"https://avatars.githubusercontent.com/u/168109?v=3","gravatar_id":"","url":"https://api.github.com/users/dirn","html_url":"https://github.com/dirn","followers_url":"https://api.github.com/users/dirn/followers","following_url":"https://api.github.com/users/dirn/following{/other_user}","gists_url":"https://api.github.com/users/dirn/gists{/gist_id}","starred_url":"https://api.github.com/users/dirn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirn/subscriptions","organizations_url":"https://api.github.com/users/dirn/orgs","repos_url":"https://api.github.com/users/dirn/repos","events_url":"https://api.github.com/users/dirn/events{/privacy}","received_events_url":"https://api.github.com/users/dirn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dirn/click","description":"Python composable command line utility","fork":true,"url":"https://api.github.com/repos/dirn/click","forks_url":"https://api.github.com/repos/dirn/click/forks","keys_url":"https://api.github.com/repos/dirn/click/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dirn/click/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dirn/click/teams","hooks_url":"https://api.github.com/repos/dirn/click/hooks","issue_events_url":"https://api.github.com/repos/dirn/click/issues/events{/number}","events_url":"https://api.github.com/repos/dirn/click/events","assignees_url":"https://api.github.com/repos/dirn/click/assignees{/user}","branches_url":"https://api.github.com/repos/dirn/click/branches{/branch}","tags_url":"https://api.github.com/repos/dirn/click/tags","blobs_url":"https://api.github.com/repos/dirn/click/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dirn/click/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dirn/click/git/refs{/sha}","trees_url":"https://api.github.com/repos/dirn/click/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dirn/click/statuses/{sha}","languages_url":"https://api.github.com/repos/dirn/click/languages","stargazers_url":"https://api.github.com/repos/dirn/click/stargazers","contributors_url":"https://api.github.com/repos/dirn/click/contributors","subscribers_url":"https://api.github.com/repos/dirn/click/subscribers","subscription_url":"https://api.github.com/repos/dirn/click/subscription","commits_url":"https://api.github.com/repos/dirn/click/commits{/sha}","git_commits_url":"https://api.github.com/repos/dirn/click/git/commits{/sha}","comments_url":"https://api.github.com/repos/dirn/click/comments{/number}","issue_comment_url":"https://api.github.com/repos/dirn/click/issues/comments{/number}","contents_url":"https://api.github.com/repos/dirn/click/contents/{+path}","compare_url":"https://api.github.com/repos/dirn/click/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dirn/click/merges","archive_url":"https://api.github.com/repos/dirn/click/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dirn/click/downloads","issues_url":"https://api.github.com/repos/dirn/click/issues{/number}","pulls_url":"https://api.github.com/repos/dirn/click/pulls{/number}","milestones_url":"https://api.github.com/repos/dirn/click/milestones{/number}","notifications_url":"https://api.github.com/repos/dirn/click/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dirn/click/labels{/name}","releases_url":"https://api.github.com/repos/dirn/click/releases{/id}","created_at":"2014-05-12T18:39:23Z","updated_at":"2015-04-24T17:20:32Z","pushed_at":"2015-04-24T17:42:25Z","git_url":"git://github.com/dirn/click.git","ssh_url":"git@github.com:dirn/click.git","clone_url":"https://github.com/dirn/click.git","svn_url":"https://github.com/dirn/click","homepage":"http://click.pocoo.org/","size":500,"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":"mitsuhiko:master","ref":"master","sha":"aa9a713a1b4e07b90046c3a110cacdb697082e78","user":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"repo":{"id":19103692,"name":"click","full_name":"mitsuhiko/click","owner":{"login":"mitsuhiko","id":7396,"avatar_url":"https://avatars.githubusercontent.com/u/7396?v=3","gravatar_id":"","url":"https://api.github.com/users/mitsuhiko","html_url":"https://github.com/mitsuhiko","followers_url":"https://api.github.com/users/mitsuhiko/followers","following_url":"https://api.github.com/users/mitsuhiko/following{/other_user}","gists_url":"https://api.github.com/users/mitsuhiko/gists{/gist_id}","starred_url":"https://api.github.com/users/mitsuhiko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitsuhiko/subscriptions","organizations_url":"https://api.github.com/users/mitsuhiko/orgs","repos_url":"https://api.github.com/users/mitsuhiko/repos","events_url":"https://api.github.com/users/mitsuhiko/events{/privacy}","received_events_url":"https://api.github.com/users/mitsuhiko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitsuhiko/click","description":"Python composable command line utility","fork":false,"url":"https://api.github.com/repos/mitsuhiko/click","forks_url":"https://api.github.com/repos/mitsuhiko/click/forks","keys_url":"https://api.github.com/repos/mitsuhiko/click/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitsuhiko/click/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitsuhiko/click/teams","hooks_url":"https://api.github.com/repos/mitsuhiko/click/hooks","issue_events_url":"https://api.github.com/repos/mitsuhiko/click/issues/events{/number}","events_url":"https://api.github.com/repos/mitsuhiko/click/events","assignees_url":"https://api.github.com/repos/mitsuhiko/click/assignees{/user}","branches_url":"https://api.github.com/repos/mitsuhiko/click/branches{/branch}","tags_url":"https://api.github.com/repos/mitsuhiko/click/tags","blobs_url":"https://api.github.com/repos/mitsuhiko/click/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitsuhiko/click/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitsuhiko/click/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitsuhiko/click/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitsuhiko/click/statuses/{sha}","languages_url":"https://api.github.com/repos/mitsuhiko/click/languages","stargazers_url":"https://api.github.com/repos/mitsuhiko/click/stargazers","contributors_url":"https://api.github.com/repos/mitsuhiko/click/contributors","subscribers_url":"https://api.github.com/repos/mitsuhiko/click/subscribers","subscription_url":"https://api.github.com/repos/mitsuhiko/click/subscription","commits_url":"https://api.github.com/repos/mitsuhiko/click/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitsuhiko/click/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitsuhiko/click/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitsuhiko/click/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitsuhiko/click/contents/{+path}","compare_url":"https://api.github.com/repos/mitsuhiko/click/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitsuhiko/click/merges","archive_url":"https://api.github.com/repos/mitsuhiko/click/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitsuhiko/click/downloads","issues_url":"https://api.github.com/repos/mitsuhiko/click/issues{/number}","pulls_url":"https://api.github.com/repos/mitsuhiko/click/pulls{/number}","milestones_url":"https://api.github.com/repos/mitsuhiko/click/milestones{/number}","notifications_url":"https://api.github.com/repos/mitsuhiko/click/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitsuhiko/click/labels{/name}","releases_url":"https://api.github.com/repos/mitsuhiko/click/releases{/id}","created_at":"2014-04-24T09:52:19Z","updated_at":"2015-04-23T17:11:36Z","pushed_at":"2015-04-16T09:58:50Z","git_url":"git://github.com/mitsuhiko/click.git","ssh_url":"git@github.com:mitsuhiko/click.git","clone_url":"https://github.com/mitsuhiko/click.git","svn_url":"https://github.com/mitsuhiko/click","homepage":"http://click.pocoo.org/","size":3242,"stargazers_count":2151,"watchers_count":2151,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"open_issues_count":43,"forks":160,"open_issues":43,"watchers":2151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitsuhiko/click/pulls/332"},"html":{"href":"https://github.com/mitsuhiko/click/pull/332"},"issue":{"href":"https://api.github.com/repos/mitsuhiko/click/issues/332"},"comments":{"href":"https://api.github.com/repos/mitsuhiko/click/issues/332/comments"},"review_comments":{"href":"https://api.github.com/repos/mitsuhiko/click/pulls/332/comments"},"review_comment":{"href":"https://api.github.com/repos/mitsuhiko/click/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitsuhiko/click/pulls/332/commits"},"statuses":{"href":"https://api.github.com/repos/mitsuhiko/click/statuses/e56aa19810dd16e1888d11a36f5bb4de7bb579ad"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}