Changeset 12893 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 29 Apr 2015, 10:14:45 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r12892 r12893 603 603 created.append(result.applicant_id) 604 604 else: 605 ob_class = self.__implemented__.__name__.replace('waeup.kofa.','') 605 ob_class = self.__implemented__.__name__.replace( 606 'waeup.kofa.','') 606 607 applicants_root.logger.info( 607 608 '%s - %s - %s' % (ob_class, result.applicant_id, msg)) … … 656 657 return 657 658 self.context[payment.p_id] = payment 659 self.context.writeLogMessage(self, 'added: %s' % payment.p_id) 658 660 self.flash(_('Payment ticket created.')) 659 661 self.redirect(self.url(payment)) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/payment.py
r11599 r12893 52 52 msg = log = 'Error: %s' % sys.exc_info()[1] 53 53 return 'danger', msg, log 54 log = ' paymentapproved: %s' % self.p_id54 log = 'approved: %s' % self.p_id 55 55 msg = _('Payment approved') 56 56 flashtype = 'success' -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r12664 r12893 892 892 self.assertTrue( 893 893 'zope.mgr - applicants.browser.OnlinePaymentApprovePage - ' 894 '%s - paymentapproved' % self.applicant.applicant_id894 '%s - approved' % self.applicant.applicant_id 895 895 in logcontent) 896 896 # ... and in payments.log
Note: See TracChangeset for help on using the changeset viewer.