aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/specification_parser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/tools/presentation/specification_parser.py b/resources/tools/presentation/specification_parser.py
index 0199796abd..5a88a7ba0d 100644
--- a/resources/tools/presentation/specification_parser.py
+++ b/resources/tools/presentation/specification_parser.py
@@ -307,8 +307,9 @@ class Specification:
else:
raise PresentationError(f"Not supported build type: {build_type}")
if ret_code != 0:
- raise PresentationError(u"Not possible to get the number of the "
- u"build number.")
+ raise PresentationError(
+ f"Not possible to get the build number of {job}."
+ )
try:
build_nr = int(build_nr)
return build_nr