Changeset 1007 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
7 Dec 2006, 18:37:06 (18 years ago)
Author:
joachim
Message:

check for IndexError?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py

    r1006 r1007  
    3535            requested_id = path_info[path_info.index('students')+1]
    3636        except ValueError:
     37            student_id = member_id
     38            break
     39        except IndexError:
    3740            student_id = member_id
    3841            break
Note: See TracChangeset for help on using the changeset viewer.