Changeset 13071


Ignore:
Timestamp:
17 Jun 2015, 05:10:20 (9 years ago)
Author:
Henrik Bettermann
Message:

Exception errors must be a tuple.

File:
1 edited

Legend:

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

    r13070 r13071  
    6969            deadline = grok.getSite()['configuration'][
    7070                    str(self.level_session)].coursereg_deadline
    71         except TypeError, KeyError:
     71        except (TypeError, KeyError):
    7272            return True
    7373        if not deadline or deadline > datetime.now(pytz.utc):
Note: See TracChangeset for help on using the changeset viewer.