Skip to content

Commit 438e3af

Browse files
committed
remove extraneous error
1 parent 4f73f02 commit 438e3af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

astroquery/alma/core.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,8 +764,6 @@ def download_files(self, files, savedir=None, cache=True,
764764
warnings.warn(f"Found cached file {filename} with size {existing_file_length} > expected "
765765
f"size {length}. The download is likely corrupted.",
766766
CorruptDataWarning)
767-
else:
768-
raise ValueError("It should not be possible to reach this state.")
769767
else:
770768
warnings.warn(f"Could not verify {url} because it has no 'content-length'")
771769

0 commit comments

Comments
 (0)