Skip to content

Commit

Permalink
Merge pull request #122 from vincentcasseau/main
Browse files Browse the repository at this point in the history
KCore: minor notifyCheckout
  • Loading branch information
vincentcasseau authored Aug 2, 2024
2 parents 665e324 + fadfff4 commit c83d6ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cassiopee/KCore/test/notifyCheckout.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def parseArgs():

# Do not send a notification when everything is OK
if not any('FAILED' in log_machine for log_machine in log_entries):
if script_args.email: sys.exit()
else: print("[Checkout Cassiopee] State: OK")
if not script_args.email: print("[Checkout Cassiopee] State: OK")
sys.exit()

# Get git info
cassiopeeIncDir = '/stck/cassiope/git/Cassiopee/Cassiopee'
Expand Down

0 comments on commit c83d6ea

Please sign in to comment.