{"comment":{"url":"https://api.github.com/repos/cloudControl/pycclib/comments/9677789","html_url":"https://github.com/cloudControl/pycclib/commit/39b40738feff012127fe00b861d0d3ccacaa0fb4#commitcomment-9677789","id":9677789,"user":{"login":"fern4lvarez","id":1381925,"avatar_url":"https://avatars.githubusercontent.com/u/1381925?v=3","gravatar_id":"","url":"https://api.github.com/users/fern4lvarez","html_url":"https://github.com/fern4lvarez","followers_url":"https://api.github.com/users/fern4lvarez/followers","following_url":"https://api.github.com/users/fern4lvarez/following{/other_user}","gists_url":"https://api.github.com/users/fern4lvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/fern4lvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fern4lvarez/subscriptions","organizations_url":"https://api.github.com/users/fern4lvarez/orgs","repos_url":"https://api.github.com/users/fern4lvarez/repos","events_url":"https://api.github.com/users/fern4lvarez/events{/privacy}","received_events_url":"https://api.github.com/users/fern4lvarez/received_events","type":"User","site_admin":false},"position":67,"line":168,"path":"pycclib/cclib.py","commit_id":"39b40738feff012127fe00b861d0d3ccacaa0fb4","created_at":"2015-02-10T15:52:38Z","updated_at":"2015-02-10T15:52:38Z","body":"I would keep it like this for now, I see the value of returning different msgs for different cases. Let's see what @MatthiasWiesner thinks.\r\n\r\nSide note: I mentioned `AttributeError` because is what you get with a `.get` method on a None object, as your example. We use bracket notation, that'd raise `TypeError` for a None object, which is what we catch."}}