Changeset 8743
- Timestamp:
- 18 Jun 2012, 06:36:43 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r8727 r8743 312 312 """ 313 313 314 def loggerInfo(ob_class, comment):314 def writeLogMessage(view, comment): 315 315 """Adds an INFO message to the log file 316 316 """ -
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py
r8741 r8743 438 438 439 439 def update(self): 440 ob_class = self.__implemented__.__name__441 440 if self.context.p_state == 'paid': 442 441 self.flash(_('This ticket has already been paid.')) … … 444 443 applicant = self.context.__parent__ 445 444 success, msg, log = query_interswitch(self.context) 446 applicant. loggerInfo(ob_class, log)445 applicant.writeLogMessage(self, log) 447 446 if not success: 448 447 self.flash(msg) … … 450 449 success, msg, log = self.context.doAfterApplicantPayment() 451 450 if log is not None: 452 applicant. loggerInfo(ob_class, log)451 applicant.writeLogMessage(self, log) 453 452 self.flash(msg) 454 453 return
Note: See TracChangeset for help on using the changeset viewer.