{"action":"created","issue":{"url":"https://api.github.com/repos/scharron/spenaswagger/issues/5","labels_url":"https://api.github.com/repos/scharron/spenaswagger/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/scharron/spenaswagger/issues/5/comments","events_url":"https://api.github.com/repos/scharron/spenaswagger/issues/5/events","html_url":"https://github.com/scharron/spenaswagger/issues/5","id":98405750,"number":5,"title":"Syntax errors","user":{"login":"alecalve","id":3832610,"avatar_url":"https://avatars.githubusercontent.com/u/3832610?v=3","gravatar_id":"","url":"https://api.github.com/users/alecalve","html_url":"https://github.com/alecalve","followers_url":"https://api.github.com/users/alecalve/followers","following_url":"https://api.github.com/users/alecalve/following{/other_user}","gists_url":"https://api.github.com/users/alecalve/gists{/gist_id}","starred_url":"https://api.github.com/users/alecalve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecalve/subscriptions","organizations_url":"https://api.github.com/users/alecalve/orgs","repos_url":"https://api.github.com/users/alecalve/repos","events_url":"https://api.github.com/users/alecalve/events{/privacy}","received_events_url":"https://api.github.com/users/alecalve/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T14:47:14Z","updated_at":"2015-07-31T16:10:41Z","closed_at":"2015-07-31T14:53:15Z","body":"Combo between bad indentation and syntax error :\r\n\r\n```python\r\n    if isinstance(highlights, dict):\r\n    highlights = {k, v if isinstance(v, ('string', 'Collection_string')) else ('string', 'Collection_string')(**v) for v in highlights}\r\n```"},"comment":{"url":"https://api.github.com/repos/scharron/spenaswagger/issues/comments/126736729","html_url":"https://github.com/scharron/spenaswagger/issues/5#issuecomment-126736729","issue_url":"https://api.github.com/repos/scharron/spenaswagger/issues/5","id":126736729,"user":{"login":"alecalve","id":3832610,"avatar_url":"https://avatars.githubusercontent.com/u/3832610?v=3","gravatar_id":"","url":"https://api.github.com/users/alecalve","html_url":"https://github.com/alecalve","followers_url":"https://api.github.com/users/alecalve/followers","following_url":"https://api.github.com/users/alecalve/following{/other_user}","gists_url":"https://api.github.com/users/alecalve/gists{/gist_id}","starred_url":"https://api.github.com/users/alecalve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alecalve/subscriptions","organizations_url":"https://api.github.com/users/alecalve/orgs","repos_url":"https://api.github.com/users/alecalve/repos","events_url":"https://api.github.com/users/alecalve/events{/privacy}","received_events_url":"https://api.github.com/users/alecalve/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T16:10:41Z","updated_at":"2015-07-31T16:10:41Z","body":"Still not fixed\r\n```python\r\n            highlights = {k: v if isinstance(v, ('string', 'Collection_string')) else ('string', 'Collection_string')(**v) for v in highlights}\r\n```\r\nthis part is not valid as k is not defined anywhere.\r\nAlso, the else part has a tuple being called, I don’t understand it as tuples are not callable.\r\n"}}