Home
last modified time | relevance | path

Searched refs:url_opener (Results 1 – 4 of 4) sorted by relevance

/development/tools/repo_pull/
Dgerrit.py174 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)
[all …]
Drepo_review.py216 url_opener = create_url_opener_from_args(args)
220 url_opener, args.gerrit, args.query, args.limits)
235 _do_task(change, set_review, url_opener, args.gerrit, change['id'],
238 _do_task(change, set_hashtags, url_opener, args.gerrit,
242 _do_task(change, set_topic, url_opener, args.gerrit, change['id'],
245 _do_task(change, delete_topic, url_opener, args.gerrit,
248 _do_task(change, submit, url_opener, args.gerrit, change['id'],
251 _do_task(change, abandon, url_opener, args.gerrit, change['id'],
254 _do_task(change, restore, url_opener, args.gerrit, change['id'],
257 _do_task(change, add_reviewers, url_opener, args.gerrit,
[all …]
Drepo_patch.py61 url_opener = create_url_opener_from_args(args)
63 url_opener, args.gerrit, args.query, args.limits)
73 patch_file = get_patch(url_opener, args.gerrit, change['id'])
Drepo_pull.py400 url_opener = create_url_opener_from_args(args)
401 return query_change_lists(url_opener, args.gerrit, args.query, args.limits)