equal
deleted
inserted
replaced
465 # load the module |
465 # load the module |
466 module = load_module_from_name(modname) |
466 module = load_module_from_name(modname) |
467 self.load_module(module) |
467 self.load_module(module) |
468 |
468 |
469 def load_module(self, module): |
469 def load_module(self, module): |
470 self.info('loading %s', module) |
470 self.info('loading %s from %s', module.__name__, module.__file__) |
471 if hasattr(module, 'registration_callback'): |
471 if hasattr(module, 'registration_callback'): |
472 module.registration_callback(self) |
472 module.registration_callback(self) |
473 else: |
473 else: |
474 for objname, obj in vars(module).items(): |
474 for objname, obj in vars(module).items(): |
475 if objname.startswith('_'): |
475 if objname.startswith('_'): |