Changeset 13931 for main/waeup.kofa


Ignore:
Timestamp:
13 Jun 2016, 20:43:03 (8 years ago)
Author:
uli
Message:

pep8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-scores-upload/src/waeup/kofa/students/browser.py

    r13930 r13931  
    31183118    def update(self,  *args, **kw):
    31193119        form = self.request.form
    3120         ob_class = self.__implemented__.__name__.replace('waeup.kofa.','')
     3120        ob_class = self.__implemented__.__name__.replace('waeup.kofa.', '')
    31213121        self.current_academic_session = grok.getSite()[
    31223122            'configuration'].current_academic_session
     
    31593159                ticket.score = score
    31603160                ticket.student.__parent__.logger.info(
    3161                     '%s - %s %s/%s score updated (%s)' %
    3162                     (ob_class, ticket.student.student_id,
    3163                     ticket.level, ticket.code, score))
     3161                    '%s - %s %s/%s score updated (%s)' % (
     3162                        ob_class, ticket.student.student_id,
     3163                        ticket.level, ticket.code, score)
     3164                    )
    31643165        if error:
    3165             self.flash(_('Error: Score(s) of %s have not be updated. '
    3166                 'Only integers are allowed.' % error.strip(', ')),
     3166            self.flash(
     3167                _('Error: Score(s) of %s have not be updated. '
     3168                    'Only integers are allowed.' % error.strip(', ')),
    31673169                type="danger")
    31683170        return
Note: See TracChangeset for help on using the changeset viewer.