Skip to content

Commit 01a8648

Browse files
committed
Merge pull request #4000 from cpcloud/fix-invalid-exception-spec
CLN: fix python26 invalid exception
2 parents 3b39e11 + e054057 commit 01a8648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ def get_data_fred(name=None, start=dt.datetime(2010, 1, 1),
478478
except KeyError:
479479
if data.ix[3].name[7:12] == 'Error':
480480
raise Exception("Failed to get the data. "
481-
"Check that {} is valid FRED "
481+
"Check that {0!r} is valid FRED "
482482
"series.".format(name))
483483
else:
484484
raise

0 commit comments

Comments
 (0)