diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-05 01:30:14 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-05 01:30:14 +0200 |
commit | 99f748ed7f445c5dfb019b6327d119e08f00cad4 (patch) | |
tree | 6310abef82613afc1fa6b23b4a3855a4e519f1eb /client/bug_show.py | |
parent | 571976cb2780ab0272b95b05bff860a3b8f04cc9 (diff) | |
download | tbt-99f748ed7f445c5dfb019b6327d119e08f00cad4.tar.xz |
all of this should be squashed later.. at least most of it works now, I
think... I should add some tests probably.
Diffstat (limited to 'client/bug_show.py')
-rwxr-xr-x | client/bug_show.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/bug_show.py b/client/bug_show.py index 18175ef..bd0ff3c 100755 --- a/client/bug_show.py +++ b/client/bug_show.py @@ -12,11 +12,11 @@ import json, requests if __name__ == '__main__': print(docopt(__doc__)) -def call(args): +def entrypoint(args): print(args) api_endpoint = args['--uri'] + '/api/1.0/ticket/' - r = requests.get(api_endpoint + args['<ticket_id>']) + r = requests.get(api_endpoint + args['<ticket_id>'], verify=False) ticket = json.loads(r.text).get('ticket') print(ticket) |