Changeset 9971


Ignore:
Timestamp:
19 Feb 2013, 21:04:21 (12 years ago)
Author:
Henrik Bettermann
Message:

pyflakes

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py

    r9959 r9971  
    2626from waeup.kofa.browser.layout import action, jsaction
    2727from waeup.kofa.students.browser import (
    28     StudentClearPage, StudentRejectClearancePage,
    2928    StudyLevelEditFormPage, StudyLevelDisplayFormPage,
    3029    StudentBasePDFFormPage, ExportPDFCourseRegistrationSlipPage,
     
    203202    def render(self):
    204203        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    205         Sem = translate('Sem.', 'waeup.kofa', target_language=portal_language)
    206204        Code = translate('Code', 'waeup.kofa', target_language=portal_language)
    207205        Title = translate('Title', 'waeup.kofa', target_language=portal_language)
     
    209207        Faculty = translate('Faculty', 'waeup.kofa', target_language=portal_language)
    210208        Cred = translate(_('Credits'), 'waeup.uniben', target_language=portal_language)
    211         Score = translate('Score', 'waeup.kofa', target_language=portal_language)
    212209        studentview = StudentBasePDFFormPage(self.context.student,
    213210            self.request, self.omit_fields)
     
    256253    def render(self):
    257254        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    258         Sem = translate('Sem.', 'waeup.kofa', target_language=portal_language)
    259255        Code = translate('Code', 'waeup.kofa', target_language=portal_language)
    260256        Title = translate('Title', 'waeup.kofa', target_language=portal_language)
     
    262258        Faculty = translate('Faculty', 'waeup.kofa', target_language=portal_language)
    263259        Cred = translate(_('Credits'), 'waeup.uniben', target_language=portal_language)
    264         Score = translate('Score', 'waeup.kofa', target_language=portal_language)
    265260        Grade = translate('Grade', 'waeup.kofa', target_language=portal_language)
    266261        studentview = StudentBasePDFFormPage(self.context.student,
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r9970 r9971  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 import grok
    1918from time import time
    2019from zope.component import createObject, getUtility
    21 from reportlab.lib.styles import getSampleStyleSheet
    22 from reportlab.platypus import Paragraph, Image, Table, Spacer
    2320from waeup.kofa.interfaces import (IKofaUtils,
    2421    CLEARED, RETURNING, PAID, REGISTERED, VALIDATED)
    2522from kofacustom.nigeria.students.utils import NigeriaStudentsUtils
    26 from waeup.kofa.accesscodes import create_accesscode
    2723from waeup.uniben.interfaces import MessageFactory as _
    28 from waeup.kofa.students.utils import (trans, render_student_data,
    29     render_table_data)
    3024
    3125class CustomStudentsUtils(NigeriaStudentsUtils):
Note: See TracChangeset for help on using the changeset viewer.