diff options
-rw-r--r-- | cxmanage_api/node.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index 0a8a83a..549ecf4 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -425,8 +425,9 @@ Initiated by power up | Asserted', if (search == ""): raise NoSensorError("No sensors were found") else: - raise NoSensorError("No sensors containing \"%s\" were " + - "found" % search) + raise NoSensorError( + "No sensors containing \"%s\" were found" % search + ) return dict((x.sensor_name, x) for x in sensors) def get_sensors_dict(self, search=""): |