{"action":"opened","issue":{"url":"https://api.github.com/repos/jeansch/py-asterisk/issues/25","repository_url":"https://api.github.com/repos/jeansch/py-asterisk","labels_url":"https://api.github.com/repos/jeansch/py-asterisk/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/jeansch/py-asterisk/issues/25/comments","events_url":"https://api.github.com/repos/jeansch/py-asterisk/issues/25/events","html_url":"https://github.com/jeansch/py-asterisk/issues/25","id":193668483,"number":25,"title":"CLI.py - string with no pop method","user":{"login":"arvoshift","id":1069474,"avatar_url":"https://avatars.githubusercontent.com/u/1069474?v=3","gravatar_id":"","url":"https://api.github.com/users/arvoshift","html_url":"https://github.com/arvoshift","followers_url":"https://api.github.com/users/arvoshift/followers","following_url":"https://api.github.com/users/arvoshift/following{/other_user}","gists_url":"https://api.github.com/users/arvoshift/gists{/gist_id}","starred_url":"https://api.github.com/users/arvoshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arvoshift/subscriptions","organizations_url":"https://api.github.com/users/arvoshift/orgs","repos_url":"https://api.github.com/users/arvoshift/repos","events_url":"https://api.github.com/users/arvoshift/events{/privacy}","received_events_url":"https://api.github.com/users/arvoshift/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T02:41:44Z","updated_at":"2016-12-06T02:41:44Z","closed_at":null,"body":"The method execute_action takes a string for argv from command_line.\r\nI've tried using .split without success.\r\n\r\n-bash-4.1$ python py-asterisk command \"ZapShowChannels\"\r\nTraceback (most recent call last):\r\n  File \"py-asterisk\", line 19, in <module>\r\n    sys.exit(Asterisk.CLI.command_line(sys.argv))\r\n  File \"/home/benp/staging/py-Asterisk-0.5.10/Asterisk/CLI.py\", line 148, in command_line\r\n    execute_action('command', argv[2])\r\n  File \"/home/benp/staging/py-Asterisk-0.5.10/Asterisk/CLI.py\", line 84, in execute_action\r\n    method_name = argv.pop(0).lower()\r\nAttributeError: 'str' object has no attribute 'pop'"}}
{"actor":{"display_login":"arvoshift"}}