diff --git a/bob/devtools/build.py b/bob/devtools/build.py index 9c6f0a538301f99fcb03ad4ec56ff17f15841c95..de2c378b2bb0e0a20209fb5dd388606228f2a9e3 100644 --- a/bob/devtools/build.py +++ b/bob/devtools/build.py @@ -611,10 +611,11 @@ def base_build( return if any(urls): + use_urls = [k for k in urls if k] raise RuntimeError( "One or more packages for recipe at '%s' already exist (%s). " "Change the package build number to trigger a build." - % (recipe_dir, ", ".join(urls)), + % (recipe_dir, ", ".join(use_urls)), ) # if you get to this point, just builds the package(s)