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

Add more docs.

File:
1 edited

Legend:

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

    r13931 r13932  
    31063106
    31073107        The mapping is constructed by reading contents from `uploadfile`.
     3108
     3109        We expect uploadfile to be a regular CSV file with columns
     3110        ``student_id`` and ``score`` (other cols are ignored).
    31083111        """
     3112        result = dict()
    31093113        data = StringIO(uploadfile.read())  # ensure we have something seekable
    31103114        reader = csv.DictReader(data)
    3111         result = dict()
    31123115        for row in reader:
    31133116            if not 'student_id' in row or not 'score' in row:
Note: See TracChangeset for help on using the changeset viewer.