From b7c5b3b70c0b7794873145e2ad063cf495e13f15 Mon Sep 17 00:00:00 2001 From: Douglas RAILLARD Date: Thu, 20 Jun 2019 11:53:07 +0100 Subject: [PATCH] lisa.energy_model: Disambiguate exception message Turn a stylistic "-" into an ":" so it is not confused with some kind of substraction. --- lisa/energy_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisa/energy_model.py b/lisa/energy_model.py index 0a01593dc..ad1dc6759 100644 --- a/lisa/energy_model.py +++ b/lisa/energy_model.py @@ -747,7 +747,7 @@ class EnergyModel(Serializable, Loggable): if not candidates: # The system can't provide full throughput to this workload. raise EnergyModelCapacityError( - "Can't handle workload - total cap = {}".format( + "Can't handle workload: total capacity = {}".format( sum(capacities.values()))) # Whittle down to those that give the lowest energy estimate -- GitLab