aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-04-16 19:48:22 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-04-16 19:48:22 +0100
commit1f36f8753f5b18e76647e84b8a5c0ad10cba7f15 (patch)
tree8771435e9bc4cd7c95814ce3c6d9c8c3efcfc602
parentb7b89e5d2701a8c912518cc9e3c5cf6f3929c6f0 (diff)
downloadsos-1f36f8753f5b18e76647e84b8a5c0ad10cba7f15.tar.gz
Remove useless else on loop statement in TarFileArchive
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-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):