Skip to content

Commit 97364d7

Browse files
committed
NEWA_COMMENT_FOOTER might not be set
1 parent a5d2309 commit 97364d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newa/cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ def cmd_execute(
11551155
comment = ("NEWA has scheduled automated test recipe for this issue, test "
11561156
f"results will be uploaded to ReportPortal launch\n{launch_url}")
11571157
# check if we have a comment footer defined in envvar
1158-
footer = os.environ['NEWA_COMMENT_FOOTER'].strip()
1158+
footer = os.environ.get('NEWA_COMMENT_FOOTER', '').strip()
11591159
if footer:
11601160
comment += f'\n{footer}'
11611161
try:

0 commit comments

Comments
 (0)