Fix "extra_strings" -> "extra-strings" typos in be-xml-to-mbox
authorW. Trevor King <wking@drexel.edu>
Thu, 28 Jan 2010 22:50:17 +0000 (17:50 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 28 Jan 2010 22:50:17 +0000 (17:50 -0500)
misc/xml/be-xml-to-mbox

index 81741bfd504d0c2091a74d1b19dcf34eb2388d91..e2c870060417eb9a84a855c9c51bd5f4d78dbfac 100755 (executable)
@@ -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"