{"action":"created","issue":{"url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/79","labels_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/79/comments","events_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/79/events","html_url":"https://github.com/gpocentek/python-gitlab/pull/79","id":123734378,"number":79,"title":"Check for action arg before use (fix Python 3 error)","user":{"login":"cdbennett","id":1619801,"avatar_url":"https://avatars.githubusercontent.com/u/1619801?v=3","gravatar_id":"","url":"https://api.github.com/users/cdbennett","html_url":"https://github.com/cdbennett","followers_url":"https://api.github.com/users/cdbennett/followers","following_url":"https://api.github.com/users/cdbennett/following{/other_user}","gists_url":"https://api.github.com/users/cdbennett/gists{/gist_id}","starred_url":"https://api.github.com/users/cdbennett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdbennett/subscriptions","organizations_url":"https://api.github.com/users/cdbennett/orgs","repos_url":"https://api.github.com/users/cdbennett/repos","events_url":"https://api.github.com/users/cdbennett/events{/privacy}","received_events_url":"https://api.github.com/users/cdbennett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-23T23:03:01Z","updated_at":"2015-12-24T07:17:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gpocentek/python-gitlab/pulls/79","html_url":"https://github.com/gpocentek/python-gitlab/pull/79","diff_url":"https://github.com/gpocentek/python-gitlab/pull/79.diff","patch_url":"https://github.com/gpocentek/python-gitlab/pull/79.patch"},"body":"Check that the parsed `action` attribute exists before using it.\r\nPreviously, whenever the command-line tool was invoked on Python 3.4\r\nwithout a bare-word argument, which is expected to be the action, the\r\nprogram aborts with an AttributeError in cli.py on the line assigning\r\n`arg.action` to `action`:\r\n\r\n    AttributeError: 'Namespace' object has no attribute 'action'"},"comment":{"url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/comments/167059666","html_url":"https://github.com/gpocentek/python-gitlab/pull/79#issuecomment-167059666","issue_url":"https://api.github.com/repos/gpocentek/python-gitlab/issues/79","id":167059666,"user":{"login":"gpocentek","id":1687888,"avatar_url":"https://avatars.githubusercontent.com/u/1687888?v=3","gravatar_id":"","url":"https://api.github.com/users/gpocentek","html_url":"https://github.com/gpocentek","followers_url":"https://api.github.com/users/gpocentek/followers","following_url":"https://api.github.com/users/gpocentek/following{/other_user}","gists_url":"https://api.github.com/users/gpocentek/gists{/gist_id}","starred_url":"https://api.github.com/users/gpocentek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpocentek/subscriptions","organizations_url":"https://api.github.com/users/gpocentek/orgs","repos_url":"https://api.github.com/users/gpocentek/repos","events_url":"https://api.github.com/users/gpocentek/events{/privacy}","received_events_url":"https://api.github.com/users/gpocentek/received_events","type":"User","site_admin":false},"created_at":"2015-12-24T07:17:20Z","updated_at":"2015-12-24T07:17:20Z","body":"Could you give an example of a command that would generate this error? Thanks."}}