Last change
on this file since 11237 was
1827,
checked in by Henrik Bettermann, 17 years ago
|
ticket #230
|
-
Property svn:keywords set to
Id
|
File size:
490 bytes
|
Line | |
---|
1 | ## Script (Python) "getEntryMode" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters=jamb |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | # $Id: getEntryMode.py 1827 2007-05-29 08:11:16Z henrik $ |
---|
11 | |
---|
12 | # this method is only used for full-time returning students (impported into returning_import) |
---|
13 | |
---|
14 | digits = 8 |
---|
15 | letters = 2 |
---|
16 | em = 'ume_ft' |
---|
17 | if jamb and len(jamb) >= (digits + letters) and jamb[:digits].isdigit()\ |
---|
18 | and jamb[digits:].isalpha(): |
---|
19 | if jamb[1] == '1': |
---|
20 | em = 'de_ft' |
---|
21 | return em |
---|
Note: See
TracBrowser for help on using the repository browser.