def __init__(self): SchoolBaseModule.__init__(self) self._examUserPrefix = ucr.get( 'ucsschool/ldap/default/userprefix/exam', 'exam-') self._examGroupExcludeRegEx = None try: value = ucr.get('ucsschool/exam/group/ldap/blacklist/regex', '') if value.strip(): self._examGroupExcludeRegEx = re.compile(value, re.I) except Exception as ex: MODULE.error( 'Failed to get/compile regexp provided by ucsschool/exam/group/ldap/blacklist/regex: %s' % (ex, )) # cache objects self._udm_modules = dict() self._examGroup = None self._examUserContainerDN = None
def __init__(self): SchoolBaseModule.__init__(self) self._tmpDir = None self._progress_state = util.Progress() self._lessons = SchoolLessons()
def __init__(self): SchoolBaseModule.__init__(self) self._tmpDir = None