mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-12 11:50:11 +08:00
cleanup
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user