From e0540579ceb642d527f2c0771fdabe3d88af55d9 Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Sat, 22 Jun 2013 23:57:30 -0400 Subject: [PATCH] CLN: fix invalid python26 exception specification --- pandas/io/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/data.py b/pandas/io/data.py index 03ccde6a2fcc1..21f69e2e7daf4 100644 --- a/pandas/io/data.py +++ b/pandas/io/data.py @@ -478,7 +478,7 @@ def get_data_fred(name=None, start=dt.datetime(2010, 1, 1), except KeyError: if data.ix[3].name[7:12] == 'Error': raise Exception("Failed to get the data. " - "Check that {} is valid FRED " + "Check that {0!r} is valid FRED " "series.".format(name)) else: raise