From: W. Trevor King Date: Thu, 28 Jan 2010 22:50:17 +0000 (-0500) Subject: Fix "extra_strings" -> "extra-strings" typos in be-xml-to-mbox X-Git-Tag: 1.0.0~59^2~26^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eaca6f4a93ad66caf9c4207e36471b9660481dc7;p=be.git Fix "extra_strings" -> "extra-strings" typos in be-xml-to-mbox --- diff --git a/misc/xml/be-xml-to-mbox b/misc/xml/be-xml-to-mbox index 81741bf..e2c8700 100755 --- a/misc/xml/be-xml-to-mbox +++ b/misc/xml/be-xml-to-mbox @@ -95,7 +95,7 @@ class Bug (LimitedAttrDict): print "Content-Transfer-Encoding: 8bit" print "Subject: %s: %s" % (self["short-name"], self["summary"]) if "extra-strings" in self: - for estr in self["extra_strings"]: + for estr in self["extra-strings"]: print "X-Extra-String: %s" % estr print "" print self["summary"] @@ -164,7 +164,7 @@ class Comment (LimitedAttrDict): self["in-reply-to"] = bug["uuid"] print "In-Reply-To: %s" % wrap_id(self["in-reply-to"]) if "extra-strings" in self: - for estr in self["extra_strings"]: + for estr in self["extra-strings"]: print "X-Extra-String: %s" % estr if self["content-type"].startswith("text/"): print "Content-Transfer-Encoding: 8bit"