Lines Matching refs:url_opener
174 def query_change_lists(url_opener, gerrit, query_string, limits): argument
184 response_file = url_opener.open(url)
191 def _make_json_post_request(url_opener, url, data, method='POST'): argument
209 response_file = url_opener.open(request)
225 def set_review(url_opener, gerrit_url, change_id, labels, message): argument
237 return _make_json_post_request(url_opener, url, data)
240 def submit(url_opener, gerrit_url, change_id): argument
245 return _make_json_post_request(url_opener, url, {})
248 def abandon(url_opener, gerrit_url, change_id, message): argument
257 return _make_json_post_request(url_opener, url, data)
260 def restore(url_opener, gerrit_url, change_id): argument
265 return _make_json_post_request(url_opener, url, {})
268 def set_topic(url_opener, gerrit_url, change_id, name): argument
273 return _make_json_post_request(url_opener, url, data, method='PUT')
276 def delete_topic(url_opener, gerrit_url, change_id): argument
281 return _make_json_post_request(url_opener, url, {}, method='DELETE')
284 def set_hashtags(url_opener, gerrit_url, change_id, add_tags=None, argument
296 return _make_json_post_request(url_opener, url, data)
299 def add_reviewers(url_opener, gerrit_url, change_id, reviewers): argument
309 return _make_json_post_request(url_opener, url, data)
312 def delete_reviewer(url_opener, gerrit_url, change_id, name): argument
318 return _make_json_post_request(url_opener, url, {})
321 def get_patch(url_opener, gerrit_url, change_id, revision_id='current'): argument
327 response_file = url_opener.open(url)
378 url_opener = create_url_opener_from_args(args)
380 url_opener, args.gerrit, args.query, args.limits)