Skip to content
Snippets Groups Projects
Unverified Commit 0139e6eb authored by Mashiro's avatar Mashiro Committed by GitHub
Browse files

[Enhance] Suppress registry warning (#1043)

parent 4d7a2934
No related branches found
No related tags found
No related merge requests found
...@@ -345,7 +345,7 @@ class Registry: ...@@ -345,7 +345,7 @@ class Registry:
f'`{self.scope}.utils.register_all_modules` ' f'`{self.scope}.utils.register_all_modules` '
'instead.', 'instead.',
logger='current', logger='current',
level=logging.WARNING) level=logging.DEBUG)
try: try:
module = import_module(f'{self.scope}.utils') module = import_module(f'{self.scope}.utils')
except (ImportError, AttributeError, ModuleNotFoundError): except (ImportError, AttributeError, ModuleNotFoundError):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment