This commit is contained in:
fawce
2012-05-28 15:25:44 -04:00
parent 7db5bc4ddc
commit 23fb5fa083
+4 -1
View File
@@ -308,7 +308,10 @@ class RiskMetrics():
message = "no rate for end date = {dt} and term = {term}. Check \
that date doesn't exceed treasury history range."
message = message.format(dt=self.end_date,term=self.treasury_duration)
message = message.format(
dt=self.end_date,
term=self.treasury_duration
)
raise Exception(message)