mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 05:37:44 +00:00
Remove print
This commit is contained in:
parent
3dc874dcf5
commit
f6331da000
@ -194,7 +194,6 @@ def key_dependency(key, dependency):
|
||||
"""Test dependencies."""
|
||||
if not isinstance(value, dict):
|
||||
raise vol.Invalid('key dependencies require a dict')
|
||||
print(key, value)
|
||||
if key in value and dependency not in value:
|
||||
raise vol.Invalid('dependency violation - key "{}" requires '
|
||||
'key "{}" to exist'.format(key, dependency))
|
||||
|
Loading…
x
Reference in New Issue
Block a user