78 | | self.parent.beginTransaction() |
79 | | try : |
80 | | self.parent.writeUserAccountBalance(self, balance, lifetimepaid) |
81 | | self.parent.writeNewPayment(self, diff, comment) |
82 | | except PyKotaStorageError, msg : |
83 | | self.parent.rollbackTransaction() |
84 | | raise PyKotaStorageError, msg |
85 | | else : |
86 | | self.parent.commitTransaction() |
87 | | self.AccountBalance = balance |
88 | | self.LifeTimePaid = lifetimepaid |
| 78 | self.AccountBalance = balance |
| 79 | self.LifeTimePaid = lifetimepaid |
| 80 | self.parent.writeNewPayment(self, diff, comment) |
| 81 | self.isDirty = True |