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/documents
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/document.py

    r12063 r12087  
    6464    def translated_state(self):
    6565        try:
    66             TRANSLATED_STATES = getUtility(IDocumentsUtils).TRANSLATED_STATES
     66            TRANSLATED_STATES = getUtility(
     67                IDocumentsUtils).TRANSLATED_DOCUMENT_STATES
    6768            return TRANSLATED_STATES[self.state]
    6869        except KeyError:
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/utils.py

    r12033 r12087  
    3939    DOCMANAGE_STATES = (CREATED,)
    4040
    41     TRANSLATED_STATES = {
     41    TRANSLATED_DOCUMENT_STATES = {
    4242        CREATED: _('created'),
    4343        SUBMITTED: _('submitted for verification'),
Note: See TracChangeset for help on using the changeset viewer.