From bdfb8ffdf956046ee8bc21f9b5bafa20c5bd8035 Mon Sep 17 00:00:00 2001 From: Geoffrey Irving Date: Mon, 5 Dec 2016 13:32:48 -0800 Subject: [PATCH] Fix ValueError('... %s', s) to ValueError('... %s' % (s,)) Change: 141091124 --- tensorflow/contrib/slim/python/slim/data/parallel_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/contrib/slim/python/slim/data/parallel_reader.py b/tensorflow/contrib/slim/python/slim/data/parallel_reader.py index 7864fa099862b1..fda7b15b322d8b 100644 --- a/tensorflow/contrib/slim/python/slim/data/parallel_reader.py +++ b/tensorflow/contrib/slim/python/slim/data/parallel_reader.py @@ -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