Commit 74c1bde7 authored by André Anjos's avatar André Anjos 💬
Browse files

[build] Fix typo

parent 6a5b791d
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment