Home
last modified time | relevance | path

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

/development/tools/repo_pull/
Dgerrit.py124 def query_change_lists(url_opener, gerrit, query_string, limits): argument
134 response_file = url_opener.open(url)
141 def _make_json_post_request(url_opener, url, data, method='POST'): argument
149 response_file = url_opener.open(request)
158 def set_review(url_opener, gerrit_url, change_id, labels, message): argument
170 return _make_json_post_request(url_opener, url, data)
173 def abandon(url_opener, gerrit_url, change_id, message): argument
182 return _make_json_post_request(url_opener, url, data)
185 def set_topic(url_opener, gerrit_url, change_id, name): argument
190 return _make_json_post_request(url_opener, url, data, method='PUT')
[all …]
Drepo_patch.py52 url_opener = create_url_opener_from_args(args)
54 url_opener, args.gerrit, args.query, args.limits)
64 patch_file = get_patch(url_opener, args.gerrit, change['id'])
Drepo_review.py189 url_opener = create_url_opener_from_args(args)
193 url_opener, args.gerrit, args.query, args.limits)
208 _do_task(change, set_review, url_opener, args.gerrit, change['id'],
211 _do_task(change, set_hashtags, url_opener, args.gerrit,
215 _do_task(change, set_topic, url_opener, args.gerrit, change['id'],
218 _do_task(change, delete_topic, url_opener, args.gerrit,
221 _do_task(change, abandon, url_opener, args.gerrit, change['id'],
Drepo_pull.py452 url_opener = create_url_opener_from_args(args)
453 return query_change_lists(url_opener, args.gerrit, args.query, args.limits)