equal
deleted
inserted
replaced
44 parser.parse() |
44 parser.parse() |
45 |
45 |
46 for filename in components_per_file.keys(): |
46 for filename in components_per_file.keys(): |
47 if len(components_per_file[filename]) > 1: |
47 if len(components_per_file[filename]) > 1: |
48 output.write(" <file name=\"%s\">\n" % filename) |
48 output.write(" <file name=\"%s\">\n" % filename) |
49 output.write("".join(map(lambda x: " <component name=\"%s\"/>\n" % x, components_per_file[filename]))) |
49 output.write("".join([" <component name=\"%s\"/>\n" % x for x in components_per_file[filename]])) |
50 output.write(" </file>\n") |
50 output.write(" </file>\n") |
51 output.write("</buildconflicts>\n") |
51 output.write("</buildconflicts>\n") |
52 output.close() |
52 output.close() |
53 except Exception, exc: |
53 except Exception, exc: |
54 task.log('ERROR: %s' % exc) |
54 task.log('ERROR: %s' % exc) |