Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
f34ece1
)
PAL: Dislpay job name in err msg
28/28928/1
author
Tibor Frank
<tifrank@cisco.com>
Mon, 21 Sep 2020 04:36:34 +0000
(06:36 +0200)
committer
Tibor Frank
<tifrank@cisco.com>
Mon, 21 Sep 2020 04:38:02 +0000
(
04:38
+0000)
Change-Id: I008d14bf1f72bcdc9b6bcb478ae851de03a176e0
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit
28b09d77b497685553d28ad7b0a98f08e89b7f7f
)
resources/tools/presentation/specification_parser.py
patch
|
blob
|
history
diff --git
a/resources/tools/presentation/specification_parser.py
b/resources/tools/presentation/specification_parser.py
index
0199796
..
5a88a7b
100644
(file)
--- 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