mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
No longer promote imports inside methods (#23471)
This commit is contained in:
committed by
Paulus Schoutsen
parent
6be798bffc
commit
148860587c
@@ -232,7 +232,6 @@ def gather_modules():
|
||||
if errors:
|
||||
print("******* ERROR")
|
||||
print("Errors while importing: ", ', '.join(errors))
|
||||
print("Make sure you import 3rd party libraries inside methods.")
|
||||
return None
|
||||
|
||||
return reqs
|
||||
|
||||
Reference in New Issue
Block a user