BUG: Makes NoData{Before, After}Date subclass NoDataOnDate (#1507)

This allows us to catch and handle all three of these exceptions in
`calc_dividend_ratios`.
This commit is contained in:
Andrew Daniels
2016-09-22 11:43:43 -04:00
committed by GitHub
parent a5c7e93540
commit f1919dc3af
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -22,11 +22,11 @@ class NoDataOnDate(Exception):
pass
class NoDataBeforeDate(Exception):
class NoDataBeforeDate(NoDataOnDate):
pass
class NoDataAfterDate(Exception):
class NoDataAfterDate(NoDataOnDate):
pass