Skip to content

Commit 0ccebd3

Browse files
Merge pull request #65 from davidastephens/option_strptime
CLN: Unnecessary try: block removed from Options
2 parents 18792ee + e5b4039 commit 0ccebd3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pandas_datareader/data.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,11 +1195,7 @@ def get_all_data(self, call=True, put=True):
11951195
11961196
"""
11971197

1198-
try:
1199-
expiry_dates = self.expiry_dates
1200-
except AttributeError:
1201-
expiry_dates, _ = self._get_expiry_dates_and_links()
1202-
1198+
expiry_dates = self.expiry_dates
12031199
return self._get_data_in_date_range(dates=expiry_dates, call=call, put=put)
12041200

12051201
def _get_data_in_date_range(self, dates, call=True, put=True):

0 commit comments

Comments
 (0)