Lines Matching full:patch
54 def _add_patch(self, patch):
55 if not patch:
57 if patch.bug_id():
58 self.browser["bug_id"] = str(patch.bug_id())
59 if patch.id():
60 self.browser["patch_id"] = str(patch.id())
67 def _post_to_server(self, queue_name, status, patch, results_file):
76 self._add_patch(patch)
81 def update_status(self, queue_name, status, patch=None, results_file=None):
87 return NetworkTransaction().run(lambda: self._post_to_server(queue_name, status, patch, results_file))
90 update_status_url = "%s/patch-status/%s/%s" % (self.url, queue_name, patch_id)