Remove unnecessary string literal concatenations (#30360)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-01-02 21:17:10 +02:00
1 parent cac750066a
commit e6388e186c
183 files changed
+362 -393

No files matched your search

+2 -3
View File
@@ -740,7 +740,7 @@ class WinkDevice(Entity):
try:
if message is None:
_LOGGER.error(
"Error on pubnub update for %s " "polling API for current state",
"Error on pubnub update for %s polling API for current state",
self.name,
)
self.schedule_update_ha_state(True)
@@ -749,8 +749,7 @@ class WinkDevice(Entity):
self.schedule_update_ha_state()
except (ValueError, KeyError, AttributeError):
_LOGGER.error(
"Error in pubnub JSON for %s " "polling API for current state",
self.name,
"Error in pubnub JSON for %s polling API for current state", self.name,
)
self.schedule_update_ha_state(True)