From e2e9409d337b57f4934de5d4ca5de97a916e24bf Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 22 Aug 2019 09:14:47 +0200
Subject: [PATCH] [ci] Fix undefined variable

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

diff --git a/bob/devtools/ci.py b/bob/devtools/ci.py
index d6e481ec..c18779b8 100644
--- a/bob/devtools/ci.py
+++ b/bob/devtools/ci.py
@@ -16,9 +16,9 @@ logger = get_logger(__name__)
 def is_master(refname, tag, repodir):
     """Tells if we're on the master branch via ref_name or tag.
 
-    This function checks if the name of the branch being built is "master".  If a
-    tag is set, then it checks if the tag is on the master branch.  If so, then
-    also returns ``True``, otherwise, ``False``.
+    This function checks if the name of the branch being built is "master".  If
+    a tag is set, then it checks if the tag is on the master branch.  If so,
+    then also returns ``True``, otherwise, ``False``.
 
     Args:
 
@@ -259,6 +259,8 @@ def cleanup(dry_run, username, password, includes):
                 'noarch',
                 ]
 
+        path = server_info["conda"]
+
         for arch in archs:
 
             arch_path = '/'.join((path, arch))
-- 
GitLab