Switched style checking to flake8 instead of pep8

This commit is contained in:
Paulus Schoutsen committed 2014-11-16 22:18:52 -08:00
1 parent 973ce21353
commit 5d107ed74b
7 files changed
+8 -14

No files matched your search

+2 -2
View File
@@ -80,8 +80,8 @@ def get_entity_ids(hass, entity_id, domain_filter=None):
entity_ids = hass.states.get(entity_id).attributes[ATTR_ENTITY_ID]
if domain_filter:
return [entity_id for entity_id in entity_ids
if entity_id.startswith(domain_filter)]
return [ent_id for ent_id in entity_ids
if ent_id.startswith(domain_filter)]
else:
return entity_ids