Skip to content

Commit e054057

Browse files
committed
CLN: fix invalid python26 exception specification
1 parent 3b39e11 commit e054057

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)