Ignore:
Timestamp:
28 Nov 2014, 16:17:38 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename dictionaries in order to not confuse all the dicts.

Rename UserExporter?.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/customers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/customer.py

    r12035 r12087  
    124124    def translated_state(self):
    125125        try:
    126             TRANSLATED_STATES = getUtility(ICustomersUtils).TRANSLATED_STATES
     126            TRANSLATED_STATES = getUtility(
     127                ICustomersUtils).TRANSLATED_CUSTOMER_STATES
    127128            ts = TRANSLATED_STATES[self.state]
    128129            return ts
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/utils.py

    r12062 r12087  
    281281    SKIP_UPLOAD_VIEWLETS = ()
    282282
    283     TRANSLATED_STATES = {
     283    TRANSLATED_CUSTOMER_STATES = {
    284284        CREATED: _('created'),
    285285        STARTED: _('started'),
Note: See TracChangeset for help on using the changeset viewer.