Remove unnecessary string literal concatenations (#30360)
This commit is contained in:
1 parent
cac750066a
commit
e6388e186c
183 files changed
+362
-393
No files matched your search
@@ -32,7 +32,7 @@ def get_scanner(hass, config):
|
||||
scanner = XfinityDeviceScanner(gateway)
|
||||
except (RequestException, ValueError):
|
||||
_LOGGER.error(
|
||||
"Error communicating with Xfinity Gateway. " "Check host: %s", gateway.host
|
||||
"Error communicating with Xfinity Gateway. Check host: %s", gateway.host
|
||||
)
|
||||
|
||||
return scanner
|
||||
@@ -51,7 +51,7 @@ class XfinityDeviceScanner(DeviceScanner):
|
||||
try:
|
||||
connected_devices = self.gateway.scan_devices()
|
||||
except (RequestException, ValueError):
|
||||
_LOGGER.error("Unable to scan devices. " "Check connection to gateway")
|
||||
_LOGGER.error("Unable to scan devices. Check connection to gateway")
|
||||
return connected_devices
|
||||
|
||||
def get_device_name(self, device):
|
||||
|
||||
Reference in new issue
Block a user