The xml() method hadn't been updated since the settings_object revamp.
("summary", self.summary)]
ret = '<bug>\n'
for (k,v) in info:
- if v is not None:
+ if v is not settings_object.EMPTY:
ret += ' <%s>%s</%s>\n' % (k,v,k)
if show_comments == True:
lines = ["<comment>",
" <uuid>%s</uuid>" % self.uuid,
" <short-name>%s</short-name>" % (shortname,),]
- if self.in_reply_to != None:
+ if self.in_reply_to != settings_object.EMPTY:
lines.append(" <in-reply-to>%s</in-reply-to>" % self.in_reply_to)
lines.extend([
" <from>%s</from>" % self._setting_attr_string("From"),