Changeset 7145 for main/waeup.custom


Ignore:
Timestamp:
19 Nov 2011, 17:56:03 (13 years ago)
Author:
Henrik Bettermann
Message:

Change some function names according to the style guide:

Function names should be lowercase, with words separated by underscores as necessary to improve readability.

Location:
main/waeup.custom/trunk/src/waeup/custom
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.custom/trunk/src/waeup/custom/interfaces.py

    r7021 r7145  
    1111
    1212    school_fee_base = schema.Int(
    13         title = u'School Fee',
     13        title = u'School Fee (ignored)',
    1414        default = 0,
    1515        )
  • main/waeup.custom/trunk/src/waeup/custom/students/browser.py

    r6948 r7145  
    33from zope.component import createObject
    44from waeup.sirp.students.browser import OnlinePaymentAddFormPage
    5 from waeup.custom.students.utils import getPaymentDetails
     5from waeup.custom.students.utils import get_payment_details
    66
    77class OnlinePaymentAddFormPage(OnlinePaymentAddFormPage):
     
    99    """
    1010
    11     def getPaymentDetails(self, category, student):
    12         return getPaymentDetails(category, student)
     11    def get_payment_details(self, category, student):
     12        return get_payment_details(category, student)
  • main/waeup.custom/trunk/src/waeup/custom/students/utils.py

    r7021 r7145  
    33from waeup.sirp.students.workflow import CLEARED, RETURNING
    44
    5 def getPaymentDetails(category, student):
     5def get_payment_details(category, student):
    66    d = {}
    77    d['surcharge_1'] = d['surcharge_2'] = d['surcharge_3'] = 0
Note: See TracChangeset for help on using the changeset viewer.