Changeset 12135 for main


Ignore:
Timestamp:
4 Dec 2014, 02:50:37 (10 years ago)
Author:
uli
Message:

pep8.

Location:
main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/container.py

    r11949 r12135  
    2424from waeup.ikoba.utils.helpers import attrs_to_fields
    2525
     26
    2627class PaymentsContainer(grok.Container):
    2728    """This is a container for all kind of payments.
  • main/waeup.ikoba/branches/uli-payments/src/waeup/ikoba/payments/payment.py

    r12134 r12135  
    3434from waeup.ikoba.utils.helpers import attrs_to_fields, get_current_principal
    3535from waeup.ikoba.utils.logger import Logger
     36
    3637
    3738class Payment(grok.Container, Logger):
     
    7778        return ikoba_utils.getPaymentItem(self)
    7879
     80
    7981class OnlinePayment(Payment):
    8082    """This is an online payment.
     
    101103            if not usertitle:
    102104                usertitle = user.title
    103         r_desc = _('Payment approved by ${a}', mapping = {'a': usertitle})
     105        r_desc = _('Payment approved by ${a}', mapping={'a': usertitle})
    104106        portal_language = getUtility(IIkobaUtils).PORTAL_LANGUAGE
    105107        self.r_desc = translate(r_desc, 'waeup.ikoba',
Note: See TracChangeset for help on using the changeset viewer.