From 23fb5fa0837bbed249506e15aa41d02a8b921df6 Mon Sep 17 00:00:00 2001 From: fawce Date: Mon, 28 May 2012 15:25:44 -0400 Subject: [PATCH] cleanup --- zipline/finance/risk.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipline/finance/risk.py b/zipline/finance/risk.py index f54fcab9..af94b284 100644 --- a/zipline/finance/risk.py +++ b/zipline/finance/risk.py @@ -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)