aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/python/training/queue_runner_impl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/training/queue_runner_impl.py b/tensorflow/python/training/queue_runner_impl.py
index 91999fa37d..3901470fbc 100644
--- a/tensorflow/python/training/queue_runner_impl.py
+++ b/tensorflow/python/training/queue_runner_impl.py
@@ -128,7 +128,7 @@ class QueueRunner(object):
for t in queue_closed_exception_types)):
raise TypeError(
"queue_closed_exception_types, when provided, "
- "must be a non-empty list of tf.error types, but saw: %s"
+ "must be a tuple of tf.error types, but saw: %s"
% queue_closed_exception_types)
self._queue_closed_exception_types = queue_closed_exception_types
# Close when no more will be produced, but pending enqueues should be