Compare commits
2 Commits
83d74c2b06
...
4fc3e74bbd
Author | SHA1 | Date |
---|---|---|
Emmanuel Garette | 4fc3e74bbd | |
Emmanuel Garette | 5663b2768b |
|
@ -277,7 +277,7 @@ class RegisterDispatcher:
|
||||||
try:
|
try:
|
||||||
self.injected_self[submodule_name] = module.Risotto(test)
|
self.injected_self[submodule_name] = module.Risotto(test)
|
||||||
except AttributeError as err:
|
except AttributeError as err:
|
||||||
raise RegistrationError(_(f'unable to register the module {submodule_name}, this module must have Risotto class'))
|
print(_(f'unable to register the module {submodule_name}, this module must have Risotto class'))
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
""" check if all messages have a function
|
""" check if all messages have a function
|
||||||
|
|
Loading…
Reference in New Issue