Changeset 6317 for main


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

Remove redundant code before there appears more of it.

File:
1 edited

Legend:

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

    r6305 r6317  
    539539            transition_id = form['transition']
    540540            IWorkflowInfo(self.context).fireTransition(transition_id)
    541             #import pdb; pdb.set_trace()
    542             timestamp = datetime.now().strftime("%d/%m/%Y %H:%M")
    543             transition_title = TRANSITION_DICT[transition_id]
    544             self.context.messages += '<br />%s - %s' % (timestamp,transition_title)
    545541        self.flash('Form has been saved.')
    546542        return
     
    607603            return
    608604        IWorkflowInfo(self.context).fireTransition('submit')
    609         timestamp = datetime.now().strftime("%d/%m/%Y %H:%M")
    610         transition_title = TRANSITION_DICT['submit']
    611         self.context.messages += '<br />%s - %s' % (timestamp,transition_title)
    612605        self.context.locked = True
    613606        self.flash('Form has been submitted.')
Note: See TracChangeset for help on using the changeset viewer.