Lines Matching refs:url_opener
352 def _query_change_lists(url_opener, gerrit, query_string, start, count): argument
380 response_file = url_opener.open(url)
386 def query_change_lists(url_opener, gerrit, query_string, start, count): argument
405 chunk = _query_change_lists(url_opener, gerrit, query_string,
421 def _make_json_post_request(url_opener, url, data, method='POST'): argument
439 response_file = url_opener.open(request)
455 def set_review(url_opener, gerrit_url, change_id, labels, message): argument
467 return _make_json_post_request(url_opener, url, data)
470 def submit(url_opener, gerrit_url, change_id): argument
475 return _make_json_post_request(url_opener, url, {})
478 def abandon(url_opener, gerrit_url, change_id, message): argument
487 return _make_json_post_request(url_opener, url, data)
490 def restore(url_opener, gerrit_url, change_id): argument
495 return _make_json_post_request(url_opener, url, {})
498 def delete(url_opener, gerrit_url, change_id): argument
503 return _make_json_post_request(url_opener, url, {}, method='DELETE')
506 def set_topic(url_opener, gerrit_url, change_id, name): argument
511 return _make_json_post_request(url_opener, url, data, method='PUT')
514 def delete_topic(url_opener, gerrit_url, change_id): argument
519 return _make_json_post_request(url_opener, url, {}, method='DELETE')
522 def set_hashtags(url_opener, gerrit_url, change_id, add_tags=None, argument
534 return _make_json_post_request(url_opener, url, data)
537 def add_reviewers(url_opener, gerrit_url, change_id, reviewers): argument
547 return _make_json_post_request(url_opener, url, data)
550 def delete_reviewer(url_opener, gerrit_url, change_id, name): argument
556 return _make_json_post_request(url_opener, url, {})
559 def get_patch(url_opener, gerrit_url, change_id, revision_id='current'): argument
565 response_file = url_opener.open(url)
630 url_opener = create_url_opener_from_args(args)
632 url_opener, args.gerrit, args.query, args.start, args.limits)