| Home | Trees | Indices | Help |
|
|---|
|
|
Routines for submitting bugreport through www.diffpy.org.
Version: 1.0-r3067-20090410
|
|||
|
_HTMLFormActionGetter Helper HTMLParser for extracting action attriubte from the first form. |
|||
|
|||
|
|||
|
|||
|
|||
Fill in and submit bugreport form at FORM_URL.
The post url is obtained by parsing the first HTML form.
formfields -- dictionary containing the keys. When optional
fields are not specified, use defaults as listed:
"reporter" optional, ["anonymous"]
"summary" required
"description" required
"component" optional, ["pdfgui"]
"version" optional, [current version of PDFgui]
"traceback" optional, [""]
All values get stripped from leading and trailing spaces.
Any other keys in formfields are ignored.
No return value.
Raise KeyError when formfields does not have required keys.
Raise IOError on failed posting.
|
Extract action attribute from the first form in HTML document. content -- HTML code Return string. Raise ValueError if form action attribute cannot be extracted. |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Apr 10 19:10:59 2009 | http://epydoc.sourceforge.net |