{"action":"created","comment":{"url":"https://api.github.com/repos/18F/regulations-parser/pulls/comments/27588394","id":27588394,"diff_hunk":"@@ -18,31 +19,36 @@\n logger.setLevel(logging.INFO)\n logger.addHandler(logging.StreamHandler())\n \n-\n if __name__ == \"__main__\":\n-    if len(sys.argv) < 6:\n+    if len(sys.argv) < 5:\n         print(\"Usage: python build_from.py regulation.xml title \"\n               + \"notice_doc_# act_title act_section (Generate diffs? \"","path":"build_from.py","position":17,"original_position":17,"commit_id":"1fb5e729945a22accaadb5347e7dfe188a0f5b12","original_commit_id":"1fb5e729945a22accaadb5347e7dfe188a0f5b12","user":{"login":"khandelwal","id":636752,"avatar_url":"https://avatars.githubusercontent.com/u/636752?v=3","gravatar_id":"","url":"https://api.github.com/users/khandelwal","html_url":"https://github.com/khandelwal","followers_url":"https://api.github.com/users/khandelwal/followers","following_url":"https://api.github.com/users/khandelwal/following{/other_user}","gists_url":"https://api.github.com/users/khandelwal/gists{/gist_id}","starred_url":"https://api.github.com/users/khandelwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khandelwal/subscriptions","organizations_url":"https://api.github.com/users/khandelwal/orgs","repos_url":"https://api.github.com/users/khandelwal/repos","events_url":"https://api.github.com/users/khandelwal/events{/privacy}","received_events_url":"https://api.github.com/users/khandelwal/received_events","type":"User","site_admin":false},"body":"I think this line needs to change, because the notice_doc_# is no longer needed as a parameter right?","created_at":"2015-04-01T17:02:44Z","updated_at":"2015-04-01T17:02:44Z","html_url":"https://github.com/18F/regulations-parser/pull/11#discussion_r27588394","pull_request_url":"https://api.github.com/repos/18F/regulations-parser/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/comments/27588394"},"html":{"href":"https://github.com/18F/regulations-parser/pull/11#discussion_r27588394"},"pull_request":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/18F/regulations-parser/pulls/11","id":32173553,"html_url":"https://github.com/18F/regulations-parser/pull/11","diff_url":"https://github.com/18F/regulations-parser/pull/11.diff","patch_url":"https://github.com/18F/regulations-parser/pull/11.patch","issue_url":"https://api.github.com/repos/18F/regulations-parser/issues/11","number":11,"state":"open","locked":false,"title":"Change input parameters to do federal register calls and pull document date from xml file","user":{"login":"lauraGgit","id":5840989,"avatar_url":"https://avatars.githubusercontent.com/u/5840989?v=3","gravatar_id":"","url":"https://api.github.com/users/lauraGgit","html_url":"https://github.com/lauraGgit","followers_url":"https://api.github.com/users/lauraGgit/followers","following_url":"https://api.github.com/users/lauraGgit/following{/other_user}","gists_url":"https://api.github.com/users/lauraGgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraGgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraGgit/subscriptions","organizations_url":"https://api.github.com/users/lauraGgit/orgs","repos_url":"https://api.github.com/users/lauraGgit/repos","events_url":"https://api.github.com/users/lauraGgit/events{/privacy}","received_events_url":"https://api.github.com/users/lauraGgit/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-28T23:47:25Z","updated_at":"2015-04-01T17:02:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73600ef9412b58747cb27a34d0bc6299c1514829","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/regulations-parser/pulls/11/commits","review_comments_url":"https://api.github.com/repos/18F/regulations-parser/pulls/11/comments","review_comment_url":"https://api.github.com/repos/18F/regulations-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/regulations-parser/issues/11/comments","statuses_url":"https://api.github.com/repos/18F/regulations-parser/statuses/1fb5e729945a22accaadb5347e7dfe188a0f5b12","head":{"label":"lauraGgit:add-original-date","ref":"add-original-date","sha":"1fb5e729945a22accaadb5347e7dfe188a0f5b12","user":{"login":"lauraGgit","id":5840989,"avatar_url":"https://avatars.githubusercontent.com/u/5840989?v=3","gravatar_id":"","url":"https://api.github.com/users/lauraGgit","html_url":"https://github.com/lauraGgit","followers_url":"https://api.github.com/users/lauraGgit/followers","following_url":"https://api.github.com/users/lauraGgit/following{/other_user}","gists_url":"https://api.github.com/users/lauraGgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraGgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraGgit/subscriptions","organizations_url":"https://api.github.com/users/lauraGgit/orgs","repos_url":"https://api.github.com/users/lauraGgit/repos","events_url":"https://api.github.com/users/lauraGgit/events{/privacy}","received_events_url":"https://api.github.com/users/lauraGgit/received_events","type":"User","site_admin":false},"repo":{"id":33019213,"name":"regulations-parser","full_name":"lauraGgit/regulations-parser","owner":{"login":"lauraGgit","id":5840989,"avatar_url":"https://avatars.githubusercontent.com/u/5840989?v=3","gravatar_id":"","url":"https://api.github.com/users/lauraGgit","html_url":"https://github.com/lauraGgit","followers_url":"https://api.github.com/users/lauraGgit/followers","following_url":"https://api.github.com/users/lauraGgit/following{/other_user}","gists_url":"https://api.github.com/users/lauraGgit/gists{/gist_id}","starred_url":"https://api.github.com/users/lauraGgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lauraGgit/subscriptions","organizations_url":"https://api.github.com/users/lauraGgit/orgs","repos_url":"https://api.github.com/users/lauraGgit/repos","events_url":"https://api.github.com/users/lauraGgit/events{/privacy}","received_events_url":"https://api.github.com/users/lauraGgit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lauraGgit/regulations-parser","description":"All the code to parse a regulation. ","fork":true,"url":"https://api.github.com/repos/lauraGgit/regulations-parser","forks_url":"https://api.github.com/repos/lauraGgit/regulations-parser/forks","keys_url":"https://api.github.com/repos/lauraGgit/regulations-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lauraGgit/regulations-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lauraGgit/regulations-parser/teams","hooks_url":"https://api.github.com/repos/lauraGgit/regulations-parser/hooks","issue_events_url":"https://api.github.com/repos/lauraGgit/regulations-parser/issues/events{/number}","events_url":"https://api.github.com/repos/lauraGgit/regulations-parser/events","assignees_url":"https://api.github.com/repos/lauraGgit/regulations-parser/assignees{/user}","branches_url":"https://api.github.com/repos/lauraGgit/regulations-parser/branches{/branch}","tags_url":"https://api.github.com/repos/lauraGgit/regulations-parser/tags","blobs_url":"https://api.github.com/repos/lauraGgit/regulations-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lauraGgit/regulations-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lauraGgit/regulations-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/lauraGgit/regulations-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lauraGgit/regulations-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/lauraGgit/regulations-parser/languages","stargazers_url":"https://api.github.com/repos/lauraGgit/regulations-parser/stargazers","contributors_url":"https://api.github.com/repos/lauraGgit/regulations-parser/contributors","subscribers_url":"https://api.github.com/repos/lauraGgit/regulations-parser/subscribers","subscription_url":"https://api.github.com/repos/lauraGgit/regulations-parser/subscription","commits_url":"https://api.github.com/repos/lauraGgit/regulations-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/lauraGgit/regulations-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/lauraGgit/regulations-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/lauraGgit/regulations-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/lauraGgit/regulations-parser/contents/{+path}","compare_url":"https://api.github.com/repos/lauraGgit/regulations-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lauraGgit/regulations-parser/merges","archive_url":"https://api.github.com/repos/lauraGgit/regulations-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lauraGgit/regulations-parser/downloads","issues_url":"https://api.github.com/repos/lauraGgit/regulations-parser/issues{/number}","pulls_url":"https://api.github.com/repos/lauraGgit/regulations-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/lauraGgit/regulations-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/lauraGgit/regulations-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lauraGgit/regulations-parser/labels{/name}","releases_url":"https://api.github.com/repos/lauraGgit/regulations-parser/releases{/id}","created_at":"2015-03-28T03:09:26Z","updated_at":"2015-03-29T15:13:27Z","pushed_at":"2015-04-01T15:08:35Z","git_url":"git://github.com/lauraGgit/regulations-parser.git","ssh_url":"git@github.com:lauraGgit/regulations-parser.git","clone_url":"https://github.com/lauraGgit/regulations-parser.git","svn_url":"https://github.com/lauraGgit/regulations-parser","homepage":null,"size":2712,"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":"18F:master","ref":"master","sha":"6dde640d4d827ce70b40742797339c6eb46d0e44","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":27612788,"name":"regulations-parser","full_name":"18F/regulations-parser","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/regulations-parser","description":"All the code to parse a regulation. ","fork":true,"url":"https://api.github.com/repos/18F/regulations-parser","forks_url":"https://api.github.com/repos/18F/regulations-parser/forks","keys_url":"https://api.github.com/repos/18F/regulations-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/regulations-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/regulations-parser/teams","hooks_url":"https://api.github.com/repos/18F/regulations-parser/hooks","issue_events_url":"https://api.github.com/repos/18F/regulations-parser/issues/events{/number}","events_url":"https://api.github.com/repos/18F/regulations-parser/events","assignees_url":"https://api.github.com/repos/18F/regulations-parser/assignees{/user}","branches_url":"https://api.github.com/repos/18F/regulations-parser/branches{/branch}","tags_url":"https://api.github.com/repos/18F/regulations-parser/tags","blobs_url":"https://api.github.com/repos/18F/regulations-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/regulations-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/regulations-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/regulations-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/regulations-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/regulations-parser/languages","stargazers_url":"https://api.github.com/repos/18F/regulations-parser/stargazers","contributors_url":"https://api.github.com/repos/18F/regulations-parser/contributors","subscribers_url":"https://api.github.com/repos/18F/regulations-parser/subscribers","subscription_url":"https://api.github.com/repos/18F/regulations-parser/subscription","commits_url":"https://api.github.com/repos/18F/regulations-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/regulations-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/regulations-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/regulations-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/regulations-parser/contents/{+path}","compare_url":"https://api.github.com/repos/18F/regulations-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/regulations-parser/merges","archive_url":"https://api.github.com/repos/18F/regulations-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/regulations-parser/downloads","issues_url":"https://api.github.com/repos/18F/regulations-parser/issues{/number}","pulls_url":"https://api.github.com/repos/18F/regulations-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/regulations-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/regulations-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/regulations-parser/labels{/name}","releases_url":"https://api.github.com/repos/18F/regulations-parser/releases{/id}","created_at":"2014-12-05T22:22:48Z","updated_at":"2015-03-28T01:13:52Z","pushed_at":"2015-04-01T15:08:35Z","git_url":"git://github.com/18F/regulations-parser.git","ssh_url":"git@github.com:18F/regulations-parser.git","clone_url":"https://github.com/18F/regulations-parser.git","svn_url":"https://github.com/18F/regulations-parser","homepage":null,"size":2115,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/11"},"html":{"href":"https://github.com/18F/regulations-parser/pull/11"},"issue":{"href":"https://api.github.com/repos/18F/regulations-parser/issues/11"},"comments":{"href":"https://api.github.com/repos/18F/regulations-parser/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/regulations-parser/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/18F/regulations-parser/statuses/1fb5e729945a22accaadb5347e7dfe188a0f5b12"}}}}