{"action":"created","comment":{"url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/comments/170696499","pull_request_review_id":99414821,"id":170696499,"diff_hunk":"@@ -131,8 +131,10 @@ def handle(self, *args, **options):\n             objects = s3client.list_objects(Bucket='dl.ncsbe.gov',Prefix='data/Snapshots/')\n             filenames=[]\n             for i in objects['Contents']:\n-                if i['Key'].split('/')[-1].endswith('.zip'):\n-                    filenames.append(i['Key'].split('/')[-1])\n+                fn = i['Key'].split('/')[-1]","path":"voter/management/commands/voter_fetch_snapshot.py","position":15,"original_position":15,"commit_id":"1dde1918d0b79d52b9b4ea8c7cf4bfcd65b34f68","original_commit_id":"1dde1918d0b79d52b9b4ea8c7cf4bfcd65b34f68","user":{"login":"vkurup","id":4413,"avatar_url":"https://avatars1.githubusercontent.com/u/4413?v=4","gravatar_id":"","url":"https://api.github.com/users/vkurup","html_url":"https://github.com/vkurup","followers_url":"https://api.github.com/users/vkurup/followers","following_url":"https://api.github.com/users/vkurup/following{/other_user}","gists_url":"https://api.github.com/users/vkurup/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurup/subscriptions","organizations_url":"https://api.github.com/users/vkurup/orgs","repos_url":"https://api.github.com/users/vkurup/repos","events_url":"https://api.github.com/users/vkurup/events{/privacy}","received_events_url":"https://api.github.com/users/vkurup/received_events","type":"User","site_admin":false},"body":"I like this refactor (though I'd prefer to spell out `filename`)","created_at":"2018-02-26T18:53:26Z","updated_at":"2018-02-26T19:03:42Z","html_url":"https://github.com/NCVotes/voters-ingestor/pull/5#discussion_r170696499","pull_request_url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/comments/170696499"},"html":{"href":"https://github.com/NCVotes/voters-ingestor/pull/5#discussion_r170696499"},"pull_request":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5","id":171412905,"html_url":"https://github.com/NCVotes/voters-ingestor/pull/5","diff_url":"https://github.com/NCVotes/voters-ingestor/pull/5.diff","patch_url":"https://github.com/NCVotes/voters-ingestor/pull/5.patch","issue_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/5","number":5,"state":"open","locked":false,"title":"[DIS-189] Running Snapshot Fetch and Process","user":{"login":"ironfroggy","id":34982,"avatar_url":"https://avatars3.githubusercontent.com/u/34982?v=4","gravatar_id":"","url":"https://api.github.com/users/ironfroggy","html_url":"https://github.com/ironfroggy","followers_url":"https://api.github.com/users/ironfroggy/followers","following_url":"https://api.github.com/users/ironfroggy/following{/other_user}","gists_url":"https://api.github.com/users/ironfroggy/gists{/gist_id}","starred_url":"https://api.github.com/users/ironfroggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironfroggy/subscriptions","organizations_url":"https://api.github.com/users/ironfroggy/orgs","repos_url":"https://api.github.com/users/ironfroggy/repos","events_url":"https://api.github.com/users/ironfroggy/events{/privacy}","received_events_url":"https://api.github.com/users/ironfroggy/received_events","type":"User","site_admin":false},"body":"Work on getting the fetch and process of snapshots running without errors (tho, maybe not actually consuming the data yet?)","created_at":"2018-02-26T15:49:33Z","updated_at":"2018-02-26T19:03:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5912628409df98eca14e6975a282808b31a8b10b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5/commits","review_comments_url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5/comments","review_comment_url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/5/comments","statuses_url":"https://api.github.com/repos/NCVotes/voters-ingestor/statuses/1dde1918d0b79d52b9b4ea8c7cf4bfcd65b34f68","head":{"label":"NCVotes:DIS-189","ref":"DIS-189","sha":"1dde1918d0b79d52b9b4ea8c7cf4bfcd65b34f68","user":{"login":"NCVotes","id":31483865,"avatar_url":"https://avatars3.githubusercontent.com/u/31483865?v=4","gravatar_id":"","url":"https://api.github.com/users/NCVotes","html_url":"https://github.com/NCVotes","followers_url":"https://api.github.com/users/NCVotes/followers","following_url":"https://api.github.com/users/NCVotes/following{/other_user}","gists_url":"https://api.github.com/users/NCVotes/gists{/gist_id}","starred_url":"https://api.github.com/users/NCVotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCVotes/subscriptions","organizations_url":"https://api.github.com/users/NCVotes/orgs","repos_url":"https://api.github.com/users/NCVotes/repos","events_url":"https://api.github.com/users/NCVotes/events{/privacy}","received_events_url":"https://api.github.com/users/NCVotes/received_events","type":"Organization","site_admin":false},"repo":{"id":103179414,"name":"voters-ingestor","full_name":"NCVotes/voters-ingestor","owner":{"login":"NCVotes","id":31483865,"avatar_url":"https://avatars3.githubusercontent.com/u/31483865?v=4","gravatar_id":"","url":"https://api.github.com/users/NCVotes","html_url":"https://github.com/NCVotes","followers_url":"https://api.github.com/users/NCVotes/followers","following_url":"https://api.github.com/users/NCVotes/following{/other_user}","gists_url":"https://api.github.com/users/NCVotes/gists{/gist_id}","starred_url":"https://api.github.com/users/NCVotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCVotes/subscriptions","organizations_url":"https://api.github.com/users/NCVotes/orgs","repos_url":"https://api.github.com/users/NCVotes/repos","events_url":"https://api.github.com/users/NCVotes/events{/privacy}","received_events_url":"https://api.github.com/users/NCVotes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NCVotes/voters-ingestor","description":"Django app to create and configure Postgres DB, then fetch and process public voter registration and voter history files from N.C. Board of Elections","fork":false,"url":"https://api.github.com/repos/NCVotes/voters-ingestor","forks_url":"https://api.github.com/repos/NCVotes/voters-ingestor/forks","keys_url":"https://api.github.com/repos/NCVotes/voters-ingestor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCVotes/voters-ingestor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCVotes/voters-ingestor/teams","hooks_url":"https://api.github.com/repos/NCVotes/voters-ingestor/hooks","issue_events_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/events{/number}","events_url":"https://api.github.com/repos/NCVotes/voters-ingestor/events","assignees_url":"https://api.github.com/repos/NCVotes/voters-ingestor/assignees{/user}","branches_url":"https://api.github.com/repos/NCVotes/voters-ingestor/branches{/branch}","tags_url":"https://api.github.com/repos/NCVotes/voters-ingestor/tags","blobs_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCVotes/voters-ingestor/statuses/{sha}","languages_url":"https://api.github.com/repos/NCVotes/voters-ingestor/languages","stargazers_url":"https://api.github.com/repos/NCVotes/voters-ingestor/stargazers","contributors_url":"https://api.github.com/repos/NCVotes/voters-ingestor/contributors","subscribers_url":"https://api.github.com/repos/NCVotes/voters-ingestor/subscribers","subscription_url":"https://api.github.com/repos/NCVotes/voters-ingestor/subscription","commits_url":"https://api.github.com/repos/NCVotes/voters-ingestor/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCVotes/voters-ingestor/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCVotes/voters-ingestor/contents/{+path}","compare_url":"https://api.github.com/repos/NCVotes/voters-ingestor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCVotes/voters-ingestor/merges","archive_url":"https://api.github.com/repos/NCVotes/voters-ingestor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCVotes/voters-ingestor/downloads","issues_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues{/number}","pulls_url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls{/number}","milestones_url":"https://api.github.com/repos/NCVotes/voters-ingestor/milestones{/number}","notifications_url":"https://api.github.com/repos/NCVotes/voters-ingestor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCVotes/voters-ingestor/labels{/name}","releases_url":"https://api.github.com/repos/NCVotes/voters-ingestor/releases{/id}","deployments_url":"https://api.github.com/repos/NCVotes/voters-ingestor/deployments","created_at":"2017-09-11T19:34:55Z","updated_at":"2018-02-21T23:31:57Z","pushed_at":"2018-02-26T15:49:33Z","git_url":"git://github.com/NCVotes/voters-ingestor.git","ssh_url":"git@github.com:NCVotes/voters-ingestor.git","clone_url":"https://github.com/NCVotes/voters-ingestor.git","svn_url":"https://github.com/NCVotes/voters-ingestor","homepage":null,"size":203,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"NCVotes:master","ref":"master","sha":"4edd8c530db6f4bb0e42b7e1694cce5d1b8dd8fb","user":{"login":"NCVotes","id":31483865,"avatar_url":"https://avatars3.githubusercontent.com/u/31483865?v=4","gravatar_id":"","url":"https://api.github.com/users/NCVotes","html_url":"https://github.com/NCVotes","followers_url":"https://api.github.com/users/NCVotes/followers","following_url":"https://api.github.com/users/NCVotes/following{/other_user}","gists_url":"https://api.github.com/users/NCVotes/gists{/gist_id}","starred_url":"https://api.github.com/users/NCVotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCVotes/subscriptions","organizations_url":"https://api.github.com/users/NCVotes/orgs","repos_url":"https://api.github.com/users/NCVotes/repos","events_url":"https://api.github.com/users/NCVotes/events{/privacy}","received_events_url":"https://api.github.com/users/NCVotes/received_events","type":"Organization","site_admin":false},"repo":{"id":103179414,"name":"voters-ingestor","full_name":"NCVotes/voters-ingestor","owner":{"login":"NCVotes","id":31483865,"avatar_url":"https://avatars3.githubusercontent.com/u/31483865?v=4","gravatar_id":"","url":"https://api.github.com/users/NCVotes","html_url":"https://github.com/NCVotes","followers_url":"https://api.github.com/users/NCVotes/followers","following_url":"https://api.github.com/users/NCVotes/following{/other_user}","gists_url":"https://api.github.com/users/NCVotes/gists{/gist_id}","starred_url":"https://api.github.com/users/NCVotes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NCVotes/subscriptions","organizations_url":"https://api.github.com/users/NCVotes/orgs","repos_url":"https://api.github.com/users/NCVotes/repos","events_url":"https://api.github.com/users/NCVotes/events{/privacy}","received_events_url":"https://api.github.com/users/NCVotes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NCVotes/voters-ingestor","description":"Django app to create and configure Postgres DB, then fetch and process public voter registration and voter history files from N.C. Board of Elections","fork":false,"url":"https://api.github.com/repos/NCVotes/voters-ingestor","forks_url":"https://api.github.com/repos/NCVotes/voters-ingestor/forks","keys_url":"https://api.github.com/repos/NCVotes/voters-ingestor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NCVotes/voters-ingestor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NCVotes/voters-ingestor/teams","hooks_url":"https://api.github.com/repos/NCVotes/voters-ingestor/hooks","issue_events_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/events{/number}","events_url":"https://api.github.com/repos/NCVotes/voters-ingestor/events","assignees_url":"https://api.github.com/repos/NCVotes/voters-ingestor/assignees{/user}","branches_url":"https://api.github.com/repos/NCVotes/voters-ingestor/branches{/branch}","tags_url":"https://api.github.com/repos/NCVotes/voters-ingestor/tags","blobs_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/refs{/sha}","trees_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NCVotes/voters-ingestor/statuses/{sha}","languages_url":"https://api.github.com/repos/NCVotes/voters-ingestor/languages","stargazers_url":"https://api.github.com/repos/NCVotes/voters-ingestor/stargazers","contributors_url":"https://api.github.com/repos/NCVotes/voters-ingestor/contributors","subscribers_url":"https://api.github.com/repos/NCVotes/voters-ingestor/subscribers","subscription_url":"https://api.github.com/repos/NCVotes/voters-ingestor/subscription","commits_url":"https://api.github.com/repos/NCVotes/voters-ingestor/commits{/sha}","git_commits_url":"https://api.github.com/repos/NCVotes/voters-ingestor/git/commits{/sha}","comments_url":"https://api.github.com/repos/NCVotes/voters-ingestor/comments{/number}","issue_comment_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/comments{/number}","contents_url":"https://api.github.com/repos/NCVotes/voters-ingestor/contents/{+path}","compare_url":"https://api.github.com/repos/NCVotes/voters-ingestor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NCVotes/voters-ingestor/merges","archive_url":"https://api.github.com/repos/NCVotes/voters-ingestor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NCVotes/voters-ingestor/downloads","issues_url":"https://api.github.com/repos/NCVotes/voters-ingestor/issues{/number}","pulls_url":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls{/number}","milestones_url":"https://api.github.com/repos/NCVotes/voters-ingestor/milestones{/number}","notifications_url":"https://api.github.com/repos/NCVotes/voters-ingestor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NCVotes/voters-ingestor/labels{/name}","releases_url":"https://api.github.com/repos/NCVotes/voters-ingestor/releases{/id}","deployments_url":"https://api.github.com/repos/NCVotes/voters-ingestor/deployments","created_at":"2017-09-11T19:34:55Z","updated_at":"2018-02-21T23:31:57Z","pushed_at":"2018-02-26T15:49:33Z","git_url":"git://github.com/NCVotes/voters-ingestor.git","ssh_url":"git@github.com:NCVotes/voters-ingestor.git","clone_url":"https://github.com/NCVotes/voters-ingestor.git","svn_url":"https://github.com/NCVotes/voters-ingestor","homepage":null,"size":203,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5"},"html":{"href":"https://github.com/NCVotes/voters-ingestor/pull/5"},"issue":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/5"},"comments":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/NCVotes/voters-ingestor/statuses/1dde1918d0b79d52b9b4ea8c7cf4bfcd65b34f68"}},"author_association":"NONE"}}
{"actor":{"display_login":"vkurup"}}