Home | History | Annotate | Download | only in bugzilla

Lines Matching refs:attachment_id

252     def attachment_url_for_id(self, attachment_id, action="view"):
253 if not attachment_id:
259 attachment_id,
359 def fetch_attachment_contents(self, attachment_id):
360 attachment_url = self.attachment_url_for_id(attachment_id)
375 def bug_id_for_attachment_id(self, attachment_id):
378 attachment_url = self.attachment_url_for_id(attachment_id, 'edit')
386 def fetch_attachment(self, attachment_id):
390 bug_id = self.bug_id_for_attachment_id(attachment_id)
395 if attachment.id() == int(attachment_id):
625 attachment_id,
629 comment_text = "Clearing flags on attachment: %s" % attachment_id
637 self.browser.open(self.attachment_url_for_id(attachment_id, 'edit'))
645 attachment_id,
662 self.browser.open(self.attachment_url_for_id(attachment_id, 'edit'))
674 def obsolete_attachment(self, attachment_id, comment_text=None):
677 log("Obsoleting attachment: %s" % attachment_id)
682 self.browser.open(self.attachment_url_for_id(attachment_id, 'edit'))