diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-12 13:56:05 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-12 13:56:05 -0400 |
commit | 37c4e7f0f0d012e8df88b94022bc9a9d75373831 (patch) | |
tree | 009ffafad4ade518ee0cf14ab67c2268ba37602e /.be/bugs/6622c06a-ed84-4d45-8011-a082fca219b6 | |
parent | d49efee62f70c9f49a5236719fd8c52dabd37dae (diff) | |
download | bugseverywhere-37c4e7f0f0d012e8df88b94022bc9a9d75373831.tar.gz |
be-mbox-to-xml passes attributes on to each part of multipart messages.
Previously "message[<some-attr>]" just returned None if it wasn't set
for that message part, which overwrote anything passed in through
fields.
"from" and "date" added to list of attributes passed along.
For be-xml-to-mbox, "alt-id" was added to Comment._attrs,
and Comment.print_to_mbox was adjusted to handle the case where
we have no information about the parent bug.
With all of this, I can complete the loop
be-mbox-to-xml example.mbox | be-xml-to-mbox > example2.mbox
without errors :p.
Finally, be-xml-to-mbox has been adjusted to also work on files (it
had previously only handled data via stdin). We can't add stdin
handling to be-mbox-to-xml though, because the mailbox package needs
an actual file to work on, and I haven't setup a tmpfile workaround
yet...
Diffstat (limited to '.be/bugs/6622c06a-ed84-4d45-8011-a082fca219b6')
0 files changed, 0 insertions, 0 deletions