aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/archive.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sos/archive.py b/sos/archive.py
index f16e4074..0f65c747 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -297,8 +297,7 @@ class TarFileArchive(FileCacheArchive):
return self.name()
except Exception as e:
last_error = e
- else:
- raise last_error
+ raise last_error
class ZipFileArchive(Archive):