retval[milestone] = OrderedSet()
for milestone, payments in self.milestone_payments.items():
for payment in payments:
- retval[milestone].add(str(payment.payee.identifier))
+ short_name = str(payment.payee.output_markdown_file)
+ short_name = short_name.replace(".mdwn", "")
+ retval[milestone].add(short_name)
return retval
def __repr__(self):
name = str(person).replace(" ", "_")
all_people[person] = person
# name, amount, requested (submitted), paid
- headings.append(name+"_amount")
+ headings.append(name)
headings.append(name+"_req")
headings.append(name+"_paid")
milestone_headings[milestone] = headings
if row is None:
row = {'bug_id': payment.node.bug.id}
- name = str(payment.payee.identifier).replace(" ", "_")
- row[name+"_amount"] = str(payment.amount)
+ short_name = str(payment.payee.output_markdown_file)
+ name = short_name.replace(".mdwn", "")
+
+ row[name] = str(payment.amount)
if payment.submitted is not None:
requested = str(payment.submitted)
else: