From 1c8902e0dc01e78a86d50a39996b193b5c33e400 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 22 Aug 2019 08:58:50 +0200
Subject: [PATCH] [ci,scripts/ci] Avoid name clash

---
 bob/devtools/ci.py         | 4 ++--
 bob/devtools/scripts/ci.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bob/devtools/ci.py b/bob/devtools/ci.py
index f82fba46..d6e481ec 100644
--- a/bob/devtools/ci.py
+++ b/bob/devtools/ci.py
@@ -215,8 +215,8 @@ def select_user_condarc(paths, branch):
     return select_build_file("condarc", paths, branch)
 
 
-def clean_betas(dry_run, username, password, includes):
-    """Cleans-up betas (through the CI).  Executes if ``dry_run==False`` only.
+def cleanup(dry_run, username, password, includes):
+    """Cleans-up WebDAV resources.  Executes if ``dry_run==False`` only.
 
     Parameters:
 
diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index 1874a09e..850005ee 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -20,7 +20,7 @@ from ..ci import (
     select_conda_build_config,
     select_conda_recipe_append,
     select_user_condarc,
-    clean_betas,
+    cleanup,
 )
 
 from ..log import verbosity_option, get_logger, echo_normal
@@ -998,7 +998,7 @@ def clean_betas(dry_run):
     else:
         includes = re.compile(r'^(bob|batl|gridtk).*')
 
-    clean_betas(
+    cleanup(
             dry_run=dry_run,
             username=os.environ["DOCUSER"],
             password=os.environ["DOCPASS"],
-- 
GitLab