diff options
author | W. Trevor King <wking@drexel.edu> | 2009-11-29 03:19:30 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-11-29 03:19:30 -0500 |
commit | 759c69d8c8a4bbd7ba9c42bb3a813cd0d06a52b7 (patch) | |
tree | aa0392af2fe22663b873a544df37f3c48c605be6 /misc/logo.svg | |
parent | 832843d26eed9023f4cf4fc431527c63ca1d533d (diff) | |
download | bugseverywhere-759c69d8c8a4bbd7ba9c42bb3a813cd0d06a52b7.tar.gz |
Moved comment.list_to_root() to Bug.add_comments() with some cleanups.
This makes Bug.add_comment simpler. Also makes Bug.from_xml() more
robust, since it no longer depends on the order in which the XML file
lists the comments. The previous Bug.from_xml() would have choked on
<be-xml>
<bug>
<comment>
<uuid>B</uuid>
<in-reply-to>A</in-reply-to>
</comment>
<comment>
<uuid>A</uuid>
</comment>
</bug>
</be-xml>
because when B was being added, the referenced A hadn't yet been
noticed.
Diffstat (limited to 'misc/logo.svg')
0 files changed, 0 insertions, 0 deletions