{"action":"created","issue":{"url":"https://api.github.com/repos/closeio/flask-mongorest/issues/86","repository_url":"https://api.github.com/repos/closeio/flask-mongorest","labels_url":"https://api.github.com/repos/closeio/flask-mongorest/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/closeio/flask-mongorest/issues/86/comments","events_url":"https://api.github.com/repos/closeio/flask-mongorest/issues/86/events","html_url":"https://github.com/closeio/flask-mongorest/issues/86","id":166452167,"number":86,"title":"Python 3 incompatible syntax on views.py","user":{"login":"marco-lavagnino","id":8427482,"avatar_url":"https://avatars.githubusercontent.com/u/8427482?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-lavagnino","html_url":"https://github.com/marco-lavagnino","followers_url":"https://api.github.com/users/marco-lavagnino/followers","following_url":"https://api.github.com/users/marco-lavagnino/following{/other_user}","gists_url":"https://api.github.com/users/marco-lavagnino/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-lavagnino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-lavagnino/subscriptions","organizations_url":"https://api.github.com/users/marco-lavagnino/orgs","repos_url":"https://api.github.com/users/marco-lavagnino/repos","events_url":"https://api.github.com/users/marco-lavagnino/events{/privacy}","received_events_url":"https://api.github.com/users/marco-lavagnino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T22:28:41Z","updated_at":"2016-07-19T22:33:00Z","closed_at":null,"body":"There are a couple of `except Exception, e:` in views.py and that syntax is incompatible with python 3. A simple change to  `except Exception as e:` should solve the issue."},"comment":{"url":"https://api.github.com/repos/closeio/flask-mongorest/issues/comments/233786836","html_url":"https://github.com/closeio/flask-mongorest/issues/86#issuecomment-233786836","issue_url":"https://api.github.com/repos/closeio/flask-mongorest/issues/86","id":233786836,"user":{"login":"wojcikstefan","id":1718372,"avatar_url":"https://avatars.githubusercontent.com/u/1718372?v=3","gravatar_id":"","url":"https://api.github.com/users/wojcikstefan","html_url":"https://github.com/wojcikstefan","followers_url":"https://api.github.com/users/wojcikstefan/followers","following_url":"https://api.github.com/users/wojcikstefan/following{/other_user}","gists_url":"https://api.github.com/users/wojcikstefan/gists{/gist_id}","starred_url":"https://api.github.com/users/wojcikstefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojcikstefan/subscriptions","organizations_url":"https://api.github.com/users/wojcikstefan/orgs","repos_url":"https://api.github.com/users/wojcikstefan/repos","events_url":"https://api.github.com/users/wojcikstefan/events{/privacy}","received_events_url":"https://api.github.com/users/wojcikstefan/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T22:33:00Z","updated_at":"2016-07-19T22:33:00Z","body":"Thanks Marco, `except Exception as e` sounds good. Care to send a PR?"}}
{"actor":{"display_login":"wojcikstefan"}}