115 output = str( |
115 output = str( |
116 process.readAllStandardOutput(), ioEncoding, 'replace') |
116 process.readAllStandardOutput(), ioEncoding, 'replace') |
117 |
117 |
118 for line in output.splitlines(): |
118 for line in output.splitlines(): |
119 if withSummary: |
119 if withSummary: |
120 l = line.strip().split(": ") |
120 li = line.strip().split(": ") |
121 if len(l) == 1: |
121 if len(li) == 1: |
122 patch, summary = l[0][:-1], "" |
122 patch, summary = li[0][:-1], "" |
123 else: |
123 else: |
124 patch, summary = l[0], l[1] |
124 patch, summary = li[0], li[1] |
125 patchesList.append("{0}@@{1}".format(patch, summary)) |
125 patchesList.append("{0}@@{1}".format(patch, summary)) |
126 else: |
126 else: |
127 patchesList.append(line.strip()) |
127 patchesList.append(line.strip()) |
128 |
128 |
129 return patchesList |
129 return patchesList |