From 9ea190d0c38d8572f6ff1e58f59483813f2208dc Mon Sep 17 00:00:00 2001 From: Manish Godara Date: Fri, 13 Feb 2015 15:48:06 -0800 Subject: [PATCH] Fix log statement Added quotes around flow repr output used in exception. Since the name can contain spaces it maybe sometimes confusing to debug without the quotes. Change-Id: I469af4758acb41c0d79f2368d21b707e88639047 --- taskflow/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskflow/exceptions.py b/taskflow/exceptions.py index d4db4e5f..b2b44193 100644 --- a/taskflow/exceptions.py +++ b/taskflow/exceptions.py @@ -132,7 +132,7 @@ class MissingDependencies(DependencyFailure): """ #: Exception message template used when creating an actual message. - MESSAGE_TPL = ("%(who)s requires %(requirements)s but no other entity" + MESSAGE_TPL = ("'%(who)s' requires %(requirements)s but no other entity" " produces said requirements") def __init__(self, who, requirements, cause=None):