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

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

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

revision 2418 by lucas, Mon Aug 2 02:19:46 2010 UTC revision 2419 by hertzog, Sun Sep 19 16:15:28 2010 UTC
# Line 109  def read_lintian_info(fname): Line 109  def read_lintian_info(fname):
109  def read_dehs(fname):  def read_dehs(fname):
110      f = open(fname)      f = open(fname)
111      for line in f.readlines():      for line in f.readlines():
112          yield map(string.strip, line.split(':'))          items = map(string.strip, line.split(':'))
113            if len(items) == 2:
114                yield items
115            else:
116                sys.stderr.write("Incorrect DEHS data: %s" % line)
117      f.close()      f.close()
118    
119  # read 822 dump of NEW queue content  # read 822 dump of NEW queue content

Legend:
Removed from v.2418  
changed lines
  Added in v.2419

  ViewVC Help
Powered by ViewVC 1.1.5