diff --git a/bob/devtools/build.py b/bob/devtools/build.py index 2486af226fe625a20bcefc4c33189cdc87d5bb26..101379960fdb1a9c4608dfb01259500849de98a1 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)