diff options
author | Manish Godara <manishg@yahoo-inc.com> | 2015-02-13 15:48:06 -0800 |
---|---|---|
committer | Manish Godara <manishg@yahoo-inc.com> | 2015-02-13 15:48:06 -0800 |
commit | 9ea190d0c38d8572f6ff1e58f59483813f2208dc (patch) | |
tree | a009d39f6dbdc698806c0f278c138c9fc6232954 | |
parent | 72a9c00625606341fc89b66736a53d67760a88b9 (diff) | |
download | taskflow-9ea190d0c38d8572f6ff1e58f59483813f2208dc.tar.gz |
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
-rw-r--r-- | taskflow/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/taskflow/exceptions.py b/taskflow/exceptions.py index d4db4e5..b2b4419 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): |