From 8797d6966cf7ddaf2802983a27dc59f768af337d Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 22 Aug 2019 08:29:24 +0200
Subject: [PATCH] [script/ci] Fix use of echo_warning -> logger.warn

---
 bob/devtools/scripts/ci.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index 5edda165..1874a09e 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -984,13 +984,13 @@ def clean_betas(dry_run):
 
     is_master = os.environ["CI_COMMIT_REF_NAME"] == "master"
     if not is_master and dry_run == False:
-        echo_warning("Forcing dry-run mode - not in master branch")
-        echo_warning("... considering this is **not** a periodic run!")
+        logger.warn("Forcing dry-run mode - not in master branch")
+        logger.warn("... considering this is **not** a periodic run!")
         dry_run = True
 
     if dry_run:
-        echo_warning("!!!! DRY RUN MODE !!!!")
-        echo_warning("Nothing is being executed on server.")
+        logger.warn("!!!! DRY RUN MODE !!!!")
+        logger.warn("Nothing is being executed on server.")
 
     import re
     if os.environ["CI_PROJECT_NAMESPACE"] == "beat":
-- 
GitLab