{"action":"created","issue":{"url":"https://api.github.com/repos/e-mission/e-mission-server/issues/15","labels_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/15/comments","events_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/15/events","html_url":"https://github.com/e-mission/e-mission-server/issues/15","id":49473715,"number":15,"title":"We consistently access section fields without checking for keys","user":{"login":"shankari","id":2423263,"avatar_url":"https://avatars.githubusercontent.com/u/2423263?v=3","gravatar_id":"","url":"https://api.github.com/users/shankari","html_url":"https://github.com/shankari","followers_url":"https://api.github.com/users/shankari/followers","following_url":"https://api.github.com/users/shankari/following{/other_user}","gists_url":"https://api.github.com/users/shankari/gists{/gist_id}","starred_url":"https://api.github.com/users/shankari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankari/subscriptions","organizations_url":"https://api.github.com/users/shankari/orgs","repos_url":"https://api.github.com/users/shankari/repos","events_url":"https://api.github.com/users/shankari/events{/privacy}","received_events_url":"https://api.github.com/users/shankari/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/e-mission/e-mission-server/labels/backend","name":"backend","color":"bfdadc"},{"url":"https://api.github.com/repos/e-mission/e-mission-server/labels/cs194","name":"cs194","color":"207de5"},{"url":"https://api.github.com/repos/e-mission/e-mission-server/labels/medium","name":"medium","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-20T00:29:46Z","updated_at":"2015-01-30T04:14:37Z","closed_at":null,"body":"For example, check out the pull requests that fixed issue #4.\r\nThey had code like:\r\nif section == None:\r\n   return None\r\nelse:\r\n   return section['coordinates']\r\n\r\nIf 'coordinates' doesn't exist, that will throw a keyerror.\r\nWe should really pull the access code into a separate dao class so that we can:\r\na) deal with this in one place\r\nb) make it easier to migrate to another database, for example"},"comment":{"url":"https://api.github.com/repos/e-mission/e-mission-server/issues/comments/72151803","html_url":"https://github.com/e-mission/e-mission-server/issues/15#issuecomment-72151803","issue_url":"https://api.github.com/repos/e-mission/e-mission-server/issues/15","id":72151803,"user":{"login":"neerajbaid","id":1578586,"avatar_url":"https://avatars.githubusercontent.com/u/1578586?v=3","gravatar_id":"","url":"https://api.github.com/users/neerajbaid","html_url":"https://github.com/neerajbaid","followers_url":"https://api.github.com/users/neerajbaid/followers","following_url":"https://api.github.com/users/neerajbaid/following{/other_user}","gists_url":"https://api.github.com/users/neerajbaid/gists{/gist_id}","starred_url":"https://api.github.com/users/neerajbaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neerajbaid/subscriptions","organizations_url":"https://api.github.com/users/neerajbaid/orgs","repos_url":"https://api.github.com/users/neerajbaid/repos","events_url":"https://api.github.com/users/neerajbaid/events{/privacy}","received_events_url":"https://api.github.com/users/neerajbaid/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T04:14:37Z","updated_at":"2015-01-30T04:14:37Z","body":"sorry - deleted my comment once i'd figured that out a few minutes later! but thanks!"}}