Lines Matching refs:patch
62 def _add_patch(self, patch): argument
63 if not patch:
65 if patch.bug_id():
66 self._browser["bug_id"] = unicode(patch.bug_id())
67 if patch.id():
68 self._browser["patch_id"] = unicode(patch.id())
82 def _post_status_to_server(self, queue_name, status, patch, results_file): argument
93 self._add_patch(patch)
131 def _post_release_work_item(self, queue_name, patch): argument
136 self._browser["attachment_id"] = unicode(patch.id())
139 def release_work_item(self, queue_name, patch): argument
140 _log.info("Releasing work item %s from %s" % (patch.id(), queue_name))
141 …kTransaction(convert_404_to_None=True).run(lambda: self._post_release_work_item(queue_name, patch))
147 def update_status(self, queue_name, status, patch=None, results_file=None): argument
149 …workTransaction().run(lambda: self._post_status_to_server(queue_name, status, patch, results_file))