Skip to content

Commit 9397b78

Browse files
mhsarmientobsipocz
authored andcommitted
As suggested in PR #2376, removed "pass" from lines astroquery/gaia/core.py, method 'def get_status_messages'
1 parent 5d25430 commit 9397b78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

astroquery/gaia/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,9 @@ def get_status_messages(self):
932932
print(line.decode("utf-8").split('=', 1)[1])
933933
except ValueError as e:
934934
print(e)
935-
pass
935+
except IndexError as e:
936+
print("Archive down for maintenance")
937+
936938
except OSError:
937939
print("Status messages could not be retrieved")
938940

0 commit comments

Comments
 (0)