/[qa]/trunk/pts/www/bin/sources_to_xml.py
ViewVC logotype

Diff of /trunk/pts/www/bin/sources_to_xml.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 905 by hertzog, Fri Jul 30 12:05:14 2004 UTC revision 906 by jeroen, Mon Jan 31 22:56:32 2005 UTC
# Line 77  def update_sources_info(m, dist): Line 77  def update_sources_info(m, dist):
77          root.appendChild(child)          root.appendChild(child)
78          if tag == "binary" or tag[0:5] == "build":          if tag == "binary" or tag[0:5] == "build":
79              for item in re.split(", ?", m[tag]):              for item in re.split(", ?", m[tag]):
80                  text = doc.createTextNode(item)                  # Take care of non-ascii, prevents troubles...
81                    text = doc.createTextNode(unicode(item,'ISO-8859-1','replace'))
82                  item_elt = doc.createElement("item")                  item_elt = doc.createElement("item")
83                  item_elt.appendChild(text)                  item_elt.appendChild(text)
84                  child.appendChild(item_elt)                  child.appendChild(item_elt)

Legend:
Removed from v.905  
changed lines
  Added in v.906

  ViewVC Help
Powered by ViewVC 1.1.5