simplify parser for /+text mode

Bug #202262 reported by Markus Korn
2
Affects Status Importance Assigned to Milestone
python-launchpad-bugs
Fix Released
Medium
Markus Korn

Bug Description

while trying to fix bug 202204, I came to the conclusion that we need a better/simpler parser for the text-pages.
We can not use email.message_from_string() as the first part is not standard conform, but it is possible to use a combination of this function and the OptionParser module.

In the attached branch i implemented this approach.

Markus

Revision history for this message
Markus Korn (thekorn) wrote :

This is for hardy+1

Changed in python-launchpad-bugs:
assignee: nobody → thekorn
importance: Undecided → Medium
status: New → In Progress
Markus Korn (thekorn)
Changed in python-launchpad-bugs:
milestone: none → intrepid
Revision history for this message
Markus Korn (thekorn) wrote :

------------------------------------------------------------
revno: 97
committer: Markus Korn <email address hidden>
branch nick: main
timestamp: Sat 2008-06-14 11:15:52 +0200
message:
  * More robust parser for the +text-mode:
      - using ConfigParser and email modul instead of custom-made parser
      - workaround parsing errors in text-mode (LP: #210576)
      - added 'date_incomplete' and 'date_left_new'
    ------------------------------------------------------------

Changed in python-launchpad-bugs:
status: In Progress → Fix Committed
Revision history for this message
Markus Korn (thekorn) wrote :

Fix released in py-lp-bugs 0.3

Changed in python-launchpad-bugs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.