From 74c1bde776072f39d8042c41b85b9881c349f5d0 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Fri, 18 Oct 2019 16:55:19 +0200
Subject: [PATCH] [build] Fix typo

---
 bob/devtools/build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/devtools/build.py b/bob/devtools/build.py
index 2486af22..10137996 100644
--- a/bob/devtools/build.py
+++ b/bob/devtools/build.py
@@ -254,7 +254,7 @@ def exists_on_channel(channel_url, basename):
 
     if self_build_number in other_build_numbers:
         candidate = urls[other_build_numbers.index(self_build_number)]
-        pkg_type = '.conda' if basename.endswidth('.conda') else '.tar.bz2'
+        pkg_type = '.conda' if basename.endswith('.conda') else '.tar.bz2'
         if candidate.endswith(pkg_type):  #match
             return "".join(channel_url, candidate)
 
-- 
GitLab