We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52a032a commit 8dc3c19Copy full SHA for 8dc3c19
pandas/io/data.py
@@ -1143,7 +1143,7 @@ def _get_expiry_months(self):
1143
try:
1144
links = root.xpath('.//*[@id="yfncsumtab"]')[0].xpath('.//a')
1145
except IndexError:
1146
- return RemoteDataError('Expiry months not available')
+ raise RemoteDataError('Expiry months not available')
1147
1148
month_gen = (element.attrib['href'].split('=')[-1]
1149
for element in links
0 commit comments