## Script (Python) "getVerdict" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=jamb ##title= ## # $Id: getEntryMode.py 1458 2007-02-21 17:15:00Z joachim $ digits = 8 letters = 2 new_em = 'UME' if jamb and len(jamb) >= (digits + letters) and jamb[:digits].isdigit()\ and jamb[digits:].isalpha(): if jamb[1] == '1': ec = 'de' new_em = 'DE' else: ec = 'unk' return new_em