payment.payee
previous_payment = payee_payments.get(payment.payee)
if previous_payment is not None:
- errors.append(BudgetGraphDuplicatePayeesForTask(
- node.bug.id, root.bug.id,
- previous_payment.payee_key, payment.payee_key
+ payee_payments[payment.payee].append(payment)
+ # NOT AN ERROR
+ print ("NOT AN ERROR", BudgetGraphDuplicatePayeesForTask(
+ node.bug.id, root.bug.id,
+ previous_payment.payee_key, payment.payee_key
))
- payee_payments[payment.payee] = payment
+ else:
+ payee_payments[payment.payee] = [payment]
except BudgetGraphBaseError as e:
errors.append(e)