Changeset 6320 for main


Ignore:
Timestamp:
10 Jun 2011, 01:54:08 (14 years ago)
Author:
uli
Message:

Cut overlong lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py

    r6319 r6320  
    425425            timestamp = datetime.now().strftime("%d/%m/%Y %H:%M")
    426426            transition_title = TRANSITION_DICT['start']
    427             self.context[pin].messages += '<br />%s - %s' % (timestamp,transition_title)
     427            self.context[pin].messages += '<br />%s - %s' % (
     428                timestamp,transition_title)
    428429        self.redirect(self.url(self.context[pin], 'edit'))
    429430        return
     
    448449    grok.name('index')
    449450    grok.require('waeup.handleApplication')
    450     form_fields = grok.AutoFields(IApplicant).omit('locked').omit('course_admitted')
     451    form_fields = grok.AutoFields(IApplicant).omit(
     452        'locked').omit('course_admitted')
    451453    #form_fields['fst_sit_results'].custom_widget = list_results_display_widget
    452454    form_fields['passport'].custom_widget = ThumbnailWidget
     
    516518    @property
    517519    def getTransitions(self):
    518         allowed_transitions_ids = IWorkflowInfo(self.context).getManualTransitionIds()
     520        allowed_transitions_ids = IWorkflowInfo(
     521            self.context).getManualTransitionIds()
    519522        null_transition = [{'name': '', 'title':'No transition'}]
    520523        transitions = null_transition + [dict(
Note: See TracChangeset for help on using the changeset viewer.