Skip to content

Commit

Permalink
Fix ValueError('... %s', s) to ValueError('... %s' % (s,))
Browse files Browse the repository at this point in the history
Change: 141091124
  • Loading branch information
girving authored and tensorflower-gardener committed Dec 5, 2016
1 parent 617ef42 commit bdfb8ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,5 +277,5 @@ def get_data_files(data_sources):
else:
data_files = [data_sources]
if not data_files:
raise ValueError('No data files found in %s', data_sources)
raise ValueError('No data files found in %s' % (data_sources,))
return data_files

0 comments on commit bdfb8ff

Please sign in to comment.