{"action":"closed","issue":{"url":"https://api.github.com/repos/aristanetworks/cvprac/issues/60","repository_url":"https://api.github.com/repos/aristanetworks/cvprac","labels_url":"https://api.github.com/repos/aristanetworks/cvprac/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/aristanetworks/cvprac/issues/60/comments","events_url":"https://api.github.com/repos/aristanetworks/cvprac/issues/60/events","html_url":"https://github.com/aristanetworks/cvprac/issues/60","id":323705777,"node_id":"MDU6SXNzdWUzMjM3MDU3Nzc=","number":60,"title":"Issue using cvprac in Python 3","user":{"login":"DimitriCapetz","id":13320857,"node_id":"MDQ6VXNlcjEzMzIwODU3","avatar_url":"https://avatars3.githubusercontent.com/u/13320857?v=4","gravatar_id":"","url":"https://api.github.com/users/DimitriCapetz","html_url":"https://github.com/DimitriCapetz","followers_url":"https://api.github.com/users/DimitriCapetz/followers","following_url":"https://api.github.com/users/DimitriCapetz/following{/other_user}","gists_url":"https://api.github.com/users/DimitriCapetz/gists{/gist_id}","starred_url":"https://api.github.com/users/DimitriCapetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimitriCapetz/subscriptions","organizations_url":"https://api.github.com/users/DimitriCapetz/orgs","repos_url":"https://api.github.com/users/DimitriCapetz/repos","events_url":"https://api.github.com/users/DimitriCapetz/events{/privacy}","received_events_url":"https://api.github.com/users/DimitriCapetz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-16T16:57:01Z","updated_at":"2018-12-29T16:10:25Z","closed_at":"2018-12-29T16:10:25Z","author_association":"NONE","body":"I am attempting to use cvprac in a Python 3 (specifically python 3.6.5) and when doing so, I receive the error below.  I do not receive this error when running the same script in Python 2.\r\n\r\n`Traceback (most recent call last):\r\n  File \"cvp_test.py\", line 12, in <module>\r\n    switch_configlet_data = cvp.api.get_configlet_by_name('BGP route-maps and prefix-lists')\r\n  File \"/data/data/com.termux/files/home/test/test/lib/python3.6/site-packages/cvprac/cvp_api.py\", line 214, in get_configlet_by_name\r\n    % urllib.quote_plus(name),\r\nAttributeError: module 'urllib' has no attribute 'quote_plus'`\r\n\r\nFor reference, here is my simple script.\r\n\r\n`import cvprac.cvp_client\r\n\r\ncvps = ['10.2.0.203']\r\ncvp_username = 'cvpadmin'\r\ncvp_password = 'password'\r\n\r\ncvp = cvprac.cvp_client.CvpClient(syslog=True, filename='cvprac_log')\r\ncvp.connect(cvps, cvp_username, cvp_password)\r\n\r\nswitch_configlet_data = cvp.api.get_configlet_by_name('BGP route-maps and prefix-lists')\r\n\r\nprint switch_configlet_data`"}}
{"actor":{"display_login":"mharista"}}