comparison src/tools/misc.py @ 588:beaf6bec2fcd

Remove every old-style class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents ca13633d3b6b
children 56531f9e9ac7
comparison
equal deleted inserted replaced
587:952322b1d490 588:beaf6bec2fcd
29 class SkipOtherTriggers(Exception): 29 class SkipOtherTriggers(Exception):
30 """ Exception to raise if normal behaviour must be followed instead of 30 """ Exception to raise if normal behaviour must be followed instead of
31 followind triggers list """ 31 followind triggers list """
32 pass 32 pass
33 33
34 class TriggerManager: 34 class TriggerManager(object):
35 """This class manage triggers: code which interact to change de behaviour of SàT""" 35 """This class manage triggers: code which interact to change de behaviour of SàT"""
36 36
37 def __init__(self): 37 def __init__(self):
38 self.__triggers={} 38 self.__triggers={}
39 39