Lines 467-472
def __init__(self, module):
|
Link Here
|
---|
|
467 |
super(ConfigHandlerModule, self).__init__() |
467 |
super(ConfigHandlerModule, self).__init__() |
468 |
self.module = module |
468 |
self.module = module |
469 |
|
469 |
|
|
|
470 |
def __hash__(self): |
471 |
return hash(self.module) |
472 |
|
473 |
def __eq__(self, other): |
474 |
if isinstance(other, type(self)): |
475 |
return self.module == other.module |
476 |
return NotImplemented |
477 |
|
470 |
def __call__(self, args): |
478 |
def __call__(self, args): |
471 |
"""Call python module after change.""" |
479 |
"""Call python module after change.""" |
472 |
ucr, changed = args |
480 |
ucr, changed = args |