Skip to content

Commit

Permalink
Merge pull request #71 from vincentcasseau/main
Browse files Browse the repository at this point in the history
KCore - notifs: add warning if a base FAILED
  • Loading branch information
vincentcasseau authored Jun 27, 2024
2 parents 2d56dcb + 6982411 commit 007509a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cassiopee/KCore/test/notifyInstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def parseArgs():
status = log_machine[2]
messageText += '{:>20} | {} | {:>10}\n'.format(prod, date, status)
if 'FAILED' in log_machine: baseState = 'FAILED'

if baseState == 'FAILED':
messageText += '\n\nIf the prod. you wish to use is marked as FAILED, please contact the maintainers:\n[email protected], [email protected]'

try:
from KCore.notify import notify
Expand Down
3 changes: 3 additions & 0 deletions Cassiopee/KCore/test/notifyValid.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ def parseArgs():
status = log_machine[2]
messageText += '{:>20} | {} | {:>10}\n'.format(prod, date, status)
if 'FAILED' in log_machine: vnvState = 'FAILED'

if vnvState == 'FAILED':
messageText += '\n\nIf the prod. you wish to use is marked as FAILED, please contact the maintainers:\n[email protected], [email protected]'

try:
from KCore.notify import notify
Expand Down

0 comments on commit 007509a

Please sign in to comment.