diff options
author | Magnus Hagander | 2018-12-14 14:43:56 +0000 |
---|---|---|
committer | Magnus Hagander | 2018-12-14 15:31:28 +0000 |
commit | 7dea97f90b534f71cbec6d0e5dfbdf237403b1f1 (patch) | |
tree | 48c53ef74987f68c05f12fb1e97b02f25a13e45a /postgresqleu/confreg/invoicehandler.py | |
parent | e0bfd4f892e43db89bc996c1474f59c2dd6a8dc6 (diff) |
Fix blankline related warnings
Diffstat (limited to 'postgresqleu/confreg/invoicehandler.py')
-rw-r--r-- | postgresqleu/confreg/invoicehandler.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/postgresqleu/confreg/invoicehandler.py b/postgresqleu/confreg/invoicehandler.py index aefd479e..4913f0c5 100644 --- a/postgresqleu/confreg/invoicehandler.py +++ b/postgresqleu/confreg/invoicehandler.py @@ -7,6 +7,7 @@ from util import notify_reg_confirmed, expire_additional_options, cancel_registr from datetime import datetime + class InvoiceProcessor(object): # Process invoices once they're getting paid # @@ -97,8 +98,6 @@ class InvoiceProcessor(object): return "%s/events/%s/register/" % (settings.SITEBASE, reg.conference.urlname) - - class BulkInvoiceProcessor(object): # Process invoices once they're getting paid # @@ -221,7 +220,6 @@ class BulkInvoiceProcessor(object): return "%s/events/%s/bulkpay/%s/" % (settings.SITEBASE, bp.conference.urlname, invoice.processorid) - class AddonInvoiceProcessor(object): can_refund = False # Process invoices for additional options added to an existing @@ -231,6 +229,7 @@ class AddonInvoiceProcessor(object): # we don't actually need to verify that nothing has changed. # # All modifications are already wrapped in a django transaction + def process_invoice_payment(self, invoice): try: order = PendingAdditionalOrder.objects.get(pk=invoice.processorid) |