summaryrefslogtreecommitdiff
path: root/src/buildstream/_basecache.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_basecache.py')
-rw-r--r--src/buildstream/_basecache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/_basecache.py b/src/buildstream/_basecache.py
index 516119cd1..15b1d5389 100644
--- a/src/buildstream/_basecache.py
+++ b/src/buildstream/_basecache.py
@@ -315,8 +315,8 @@ class BaseCache:
if on_failure:
on_failure(remote_spec, str(err))
continue
- else:
- raise
+
+ raise
# Finally, we can instantiate the remote. Note that
# NamedTuples are hashable, so we can use them as pretty