GitHub PullRequestEvent at 2014-10-18 13:14:51
Repository: crudini
Actor: pixelb
Payload: {"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/pixelb/crudini/pulls/16","id":22921647,"html_url":"https://github.com/pixelb/crudini/pull/16","diff_url":"https://github.com/pixelb/crudini/pull/16.diff","patch_url":"https://github.com/pixelb/crudini/pull/16.patch","issue_url":"https://api.github.com/repos/pixelb/crudini/issues/16","number":16,"state":"closed","locked":false,"title":"run function. Fixed NameError: global name 'param' is not defined.","user":{"login":"gashev","id":3756314,"avatar_url":"https://avatars.githubusercontent.com/u/3756314?v=2","gravatar_id":"","url":"https://api.github.com/users/gashev","html_url":"https://github.com/gashev","followers_url":"https://api.github.com/users/gashev/followers","following_url":"https://api.github.com/users/gashev/following{/other_user}","gists_url":"https://api.github.com/users/gashev/gists{/gist_id}","starred_url":"https://api.github.com/users/gashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gashev/subscriptions","organizations_url":"https://api.github.com/users/gashev/orgs","repos_url":"https://api.github.com/users/gashev/repos","events_url":"https://api.github.com/users/gashev/events{/privacy}","received_events_url":"https://api.github.com/users/gashev/received_events","type":"User","site_admin":false},"body":"If param does not exist for --get action, displayed \"NameError: global name 'param' is not defined\".\r\n\r\n```\r\n% cat test.ini\r\n[test]\r\na=1\r\n\r\n./crudini --get test.ini test n\r\nTraceback (most recent call last):\r\n  File \"./crudini\", line 694, in <module>\r\n    sys.exit(main())\r\n  File \"./crudini\", line 691, in main\r\n    return crudini.run()\r\n  File \"./crudini\", line 663, in run\r\n    error('Parameter not found: %s' % param)\r\nNameError: global name 'param' is not defined\r\n```","created_at":"2014-10-17T12:40:23Z","updated_at":"2014-10-18T13:14:51Z","closed_at":"2014-10-18T13:14:51Z","merged_at":null,"merge_commit_sha":"a5cda0846ee47b4b2bc68528dd80c36a01e6d047","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pixelb/crudini/pulls/16/commits","review_comments_url":"https://api.github.com/repos/pixelb/crudini/pulls/16/comments","review_comment_url":"https://api.github.com/repos/pixelb/crudini/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pixelb/crudini/issues/16/comments","statuses_url":"https://api.github.com/repos/pixelb/crudini/statuses/8470fe3a711e211f06048d1e5bc4de8c597d6f5f","head":{"label":"gashev:run_undefined_variable_param","ref":"run_undefined_variable_param","sha":"8470fe3a711e211f06048d1e5bc4de8c597d6f5f","user":{"login":"gashev","id":3756314,"avatar_url":"https://avatars.githubusercontent.com/u/3756314?v=2","gravatar_id":"","url":"https://api.github.com/users/gashev","html_url":"https://github.com/gashev","followers_url":"https://api.github.com/users/gashev/followers","following_url":"https://api.github.com/users/gashev/following{/other_user}","gists_url":"https://api.github.com/users/gashev/gists{/gist_id}","starred_url":"https://api.github.com/users/gashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gashev/subscriptions","organizations_url":"https://api.github.com/users/gashev/orgs","repos_url":"https://api.github.com/users/gashev/repos","events_url":"https://api.github.com/users/gashev/events{/privacy}","received_events_url":"https://api.github.com/users/gashev/received_events","type":"User","site_admin":false},"repo":{"id":25353626,"name":"crudini","full_name":"gashev/crudini","owner":{"login":"gashev","id":3756314,"avatar_url":"https://avatars.githubusercontent.com/u/3756314?v=2","gravatar_id":"","url":"https://api.github.com/users/gashev","html_url":"https://github.com/gashev","followers_url":"https://api.github.com/users/gashev/followers","following_url":"https://api.github.com/users/gashev/following{/other_user}","gists_url":"https://api.github.com/users/gashev/gists{/gist_id}","starred_url":"https://api.github.com/users/gashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gashev/subscriptions","organizations_url":"https://api.github.com/users/gashev/orgs","repos_url":"https://api.github.com/users/gashev/repos","events_url":"https://api.github.com/users/gashev/events{/privacy}","received_events_url":"https://api.github.com/users/gashev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gashev/crudini","description":"A utility for manipulating ini files","fork":true,"url":"https://api.github.com/repos/gashev/crudini","forks_url":"https://api.github.com/repos/gashev/crudini/forks","keys_url":"https://api.github.com/repos/gashev/crudini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gashev/crudini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gashev/crudini/teams","hooks_url":"https://api.github.com/repos/gashev/crudini/hooks","issue_events_url":"https://api.github.com/repos/gashev/crudini/issues/events{/number}","events_url":"https://api.github.com/repos/gashev/crudini/events","assignees_url":"https://api.github.com/repos/gashev/crudini/assignees{/user}","branches_url":"https://api.github.com/repos/gashev/crudini/branches{/branch}","tags_url":"https://api.github.com/repos/gashev/crudini/tags","blobs_url":"https://api.github.com/repos/gashev/crudini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gashev/crudini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gashev/crudini/git/refs{/sha}","trees_url":"https://api.github.com/repos/gashev/crudini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gashev/crudini/statuses/{sha}","languages_url":"https://api.github.com/repos/gashev/crudini/languages","stargazers_url":"https://api.github.com/repos/gashev/crudini/stargazers","contributors_url":"https://api.github.com/repos/gashev/crudini/contributors","subscribers_url":"https://api.github.com/repos/gashev/crudini/subscribers","subscription_url":"https://api.github.com/repos/gashev/crudini/subscription","commits_url":"https://api.github.com/repos/gashev/crudini/commits{/sha}","git_commits_url":"https://api.github.com/repos/gashev/crudini/git/commits{/sha}","comments_url":"https://api.github.com/repos/gashev/crudini/comments{/number}","issue_comment_url":"https://api.github.com/repos/gashev/crudini/issues/comments/{number}","contents_url":"https://api.github.com/repos/gashev/crudini/contents/{+path}","compare_url":"https://api.github.com/repos/gashev/crudini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gashev/crudini/merges","archive_url":"https://api.github.com/repos/gashev/crudini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gashev/crudini/downloads","issues_url":"https://api.github.com/repos/gashev/crudini/issues{/number}","pulls_url":"https://api.github.com/repos/gashev/crudini/pulls{/number}","milestones_url":"https://api.github.com/repos/gashev/crudini/milestones{/number}","notifications_url":"https://api.github.com/repos/gashev/crudini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gashev/crudini/labels{/name}","releases_url":"https://api.github.com/repos/gashev/crudini/releases{/id}","created_at":"2014-10-17T10:54:14Z","updated_at":"2014-09-17T07:15:10Z","pushed_at":"2014-10-17T12:37:59Z","git_url":"git://github.com/gashev/crudini.git","ssh_url":"git@github.com:gashev/crudini.git","clone_url":"https://github.com/gashev/crudini.git","svn_url":"https://github.com/gashev/crudini","homepage":null,"size":383,"stargazers_count":0,"watchers_count":0,"language":null,"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":"pixelb:master","ref":"master","sha":"e7d7f1396b7be79a9dc65b108cdbb683ce8f5d50","user":{"login":"pixelb","id":316894,"avatar_url":"https://avatars.githubusercontent.com/u/316894?v=2","gravatar_id":"","url":"https://api.github.com/users/pixelb","html_url":"https://github.com/pixelb","followers_url":"https://api.github.com/users/pixelb/followers","following_url":"https://api.github.com/users/pixelb/following{/other_user}","gists_url":"https://api.github.com/users/pixelb/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelb/subscriptions","organizations_url":"https://api.github.com/users/pixelb/orgs","repos_url":"https://api.github.com/users/pixelb/repos","events_url":"https://api.github.com/users/pixelb/events{/privacy}","received_events_url":"https://api.github.com/users/pixelb/received_events","type":"User","site_admin":false},"repo":{"id":7831367,"name":"crudini","full_name":"pixelb/crudini","owner":{"login":"pixelb","id":316894,"avatar_url":"https://avatars.githubusercontent.com/u/316894?v=2","gravatar_id":"","url":"https://api.github.com/users/pixelb","html_url":"https://github.com/pixelb","followers_url":"https://api.github.com/users/pixelb/followers","following_url":"https://api.github.com/users/pixelb/following{/other_user}","gists_url":"https://api.github.com/users/pixelb/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelb/subscriptions","organizations_url":"https://api.github.com/users/pixelb/orgs","repos_url":"https://api.github.com/users/pixelb/repos","events_url":"https://api.github.com/users/pixelb/events{/privacy}","received_events_url":"https://api.github.com/users/pixelb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pixelb/crudini","description":"A utility for manipulating ini files","fork":false,"url":"https://api.github.com/repos/pixelb/crudini","forks_url":"https://api.github.com/repos/pixelb/crudini/forks","keys_url":"https://api.github.com/repos/pixelb/crudini/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixelb/crudini/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixelb/crudini/teams","hooks_url":"https://api.github.com/repos/pixelb/crudini/hooks","issue_events_url":"https://api.github.com/repos/pixelb/crudini/issues/events{/number}","events_url":"https://api.github.com/repos/pixelb/crudini/events","assignees_url":"https://api.github.com/repos/pixelb/crudini/assignees{/user}","branches_url":"https://api.github.com/repos/pixelb/crudini/branches{/branch}","tags_url":"https://api.github.com/repos/pixelb/crudini/tags","blobs_url":"https://api.github.com/repos/pixelb/crudini/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixelb/crudini/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixelb/crudini/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixelb/crudini/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixelb/crudini/statuses/{sha}","languages_url":"https://api.github.com/repos/pixelb/crudini/languages","stargazers_url":"https://api.github.com/repos/pixelb/crudini/stargazers","contributors_url":"https://api.github.com/repos/pixelb/crudini/contributors","subscribers_url":"https://api.github.com/repos/pixelb/crudini/subscribers","subscription_url":"https://api.github.com/repos/pixelb/crudini/subscription","commits_url":"https://api.github.com/repos/pixelb/crudini/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixelb/crudini/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixelb/crudini/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixelb/crudini/issues/comments/{number}","contents_url":"https://api.github.com/repos/pixelb/crudini/contents/{+path}","compare_url":"https://api.github.com/repos/pixelb/crudini/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixelb/crudini/merges","archive_url":"https://api.github.com/repos/pixelb/crudini/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixelb/crudini/downloads","issues_url":"https://api.github.com/repos/pixelb/crudini/issues{/number}","pulls_url":"https://api.github.com/repos/pixelb/crudini/pulls{/number}","milestones_url":"https://api.github.com/repos/pixelb/crudini/milestones{/number}","notifications_url":"https://api.github.com/repos/pixelb/crudini/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixelb/crudini/labels{/name}","releases_url":"https://api.github.com/repos/pixelb/crudini/releases{/id}","created_at":"2013-01-26T00:39:08Z","updated_at":"2014-09-17T07:15:10Z","pushed_at":"2014-10-18T13:14:01Z","git_url":"git://github.com/pixelb/crudini.git","ssh_url":"git@github.com:pixelb/crudini.git","clone_url":"https://github.com/pixelb/crudini.git","svn_url":"https://github.com/pixelb/crudini","homepage":null,"size":383,"stargazers_count":18,"watchers_count":18,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":2,"forks":10,"open_issues":2,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pixelb/crudini/pulls/16"},"html":{"href":"https://github.com/pixelb/crudini/pull/16"},"issue":{"href":"https://api.github.com/repos/pixelb/crudini/issues/16"},"comments":{"href":"https://api.github.com/repos/pixelb/crudini/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/pixelb/crudini/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/pixelb/crudini/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pixelb/crudini/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/pixelb/crudini/statuses/8470fe3a711e211f06048d1e5bc4de8c597d6f5f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}