Changeset 12818


Ignore:
Timestamp:
24 Mar 2015, 08:49:53 (10 years ago)
Author:
uli
Message:

pep8, pyflakes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/payments/container.py

    r12780 r12818  
    2020"""
    2121import grok
    22 from zope.schema import getFields
    2322from waeup.ikoba.interfaces import IIkobaPluggable
    24 from waeup.ikoba.payments.interfaces import IPaymentsContainer, IPayment
     23from waeup.ikoba.payments.interfaces import IPaymentsContainer
    2524from waeup.ikoba.utils.helpers import attrs_to_fields
    2625from waeup.ikoba.utils.logger import Logger
     
    7069        for payment in site['payments'].values():
    7170            # Add payment_items
    72             if not hasattr(payment,'payment_items'):
    73               payment.payment_items = ()
    74               logger.info(
    75                   'PaymentsPlugin: %s attribute %s added.' % (
    76                   payment.payment_id,'payment_items'))
     71            if not hasattr(payment, 'payment_items'):
     72                payment.payment_items = ()
     73                logger.info(
     74                    'PaymentsPlugin: %s attribute %s added.' % (
     75                        payment.payment_id, 'payment_items')
     76                    )
    7777        return
Note: See TracChangeset for help on using the changeset viewer.