Lines Matching refs:form_fields
316 form_fields = [
325 form_fields.append(("issue", self.name))
341 form_fields.append(("separate_patches", "1"))
348 form_fields.append(("subject", "diff -r " + vcs.base_rev + " " + ui.expandpath("default")))
351 form_fields.append(("subject", self.Subject()))
352 ctype, body = EncodeMultipartFormData(form_fields, uploaded_diff_file)
2514 form_fields = GetForm("/" + issue + "/edit")
2516 form_fields['subject'] = subject
2518 form_fields['description'] = desc
2520 form_fields['reviewers'] = reviewers
2522 form_fields['cc'] = cc
2524 form_fields['closed'] = "checked"
2526 form_fields['private'] = "checked"
2527 ctype, body = EncodeMultipartFormData(form_fields.items(), [])
2530 print >>sys.stderr, "Error editing description:\n" + "Sent form: \n", form_fields, "\n", response
2535 form_fields = GetForm("/" + issue + "/publish")
2537 form_fields['reviewers'] = reviewers
2539 form_fields['cc'] = cc
2541 form_fields['send_mail'] = "checked"
2543 del form_fields['send_mail']
2545 form_fields['subject'] = subject
2546 form_fields['message'] = message
2548 form_fields['message_only'] = '1' # Don't include draft comments
2550 form_fields['message_only'] = '' # Must set '' in order to override cc/reviewer
2552 body = urllib.urlencode(form_fields)
3252 form_fields = [
3260 form_fields.append(("file_too_large", "1"))
3262 form_fields.append(("user", options.email))
3263 ctype, body = EncodeMultipartFormData(form_fields, [("data", filename, content)])
3549 form_fields = [("filename", patch[0])]
3551 form_fields.append(("content_upload", "1"))
3553 ctype, body = EncodeMultipartFormData(form_fields, files)