Skip to content

Commit

Permalink
Fix assigned to but never used
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanohoro committed Sep 21, 2023
1 parent a8d3c7d commit 5809d73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/python/strelka/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ def get_remote_fixture_archive(
}
)
except Exception as e:
raise
raise e

elif mime_type == "application/x-7z-compressed":
try:
with py7zr.SevenZipFile(bytesfile, password=password) as archive:
allfiles = archive.readall()
except Exception as e:
raise
raise e

elif mime_type == "application/gzip":
try:
Expand All @@ -116,7 +116,7 @@ def get_remote_fixture_archive(
)

except Exception as e:
raise
raise e

elif mime_type == "application/x-tar":
try:
Expand All @@ -126,7 +126,7 @@ def get_remote_fixture_archive(
allfiles.update({member.name: archive.extractfile(member)})

except Exception as e:
raise
raise e

else:
raise ValueError(f"Archive type {mime_type} not supported")
Expand Down

0 comments on commit 5809d73

Please sign in to comment.