Changeset 13008


Ignore:
Timestamp:
27 May 2015, 15:56:15 (9 years ago)
Author:
Henrik Bettermann
Message:

Catch all errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py

    r13006 r13008  
    297297            if self.student.state == VALIDATED and self.student.current_session == cas:
    298298                return True
    299         except AttributeError: # in unit tests
     299        except (AttributeError, TypeError): # in unit tests
    300300            pass
    301301        return False
Note: See TracChangeset for help on using the changeset viewer.