summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/coverage/coverage.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/coverage/coverage.py b/tools/coverage/coverage.py
index 1df02ae..f6f7789 100755
--- a/tools/coverage/coverage.py
+++ b/tools/coverage/coverage.py
@@ -59,11 +59,11 @@ class ChildError(CustomError):
class ChildNotFoundError(ChildError):
def __str__(self):
- return "Unable to find the child %s in %s" % (self.child, self.parent)
+ return 'Unable to find the child "%s" in "%s"' % (self.child, self.parent)
class DuplicatedChildError(ChildError):
def __str__(self):
- return "Add existing child %s in %s." % (self.child, self.parent)
+ return 'Add existing child "%s" in "%s".' % (self.child, self.parent)
class Element():
"""Root class for all coverage elements"""
@@ -109,7 +109,7 @@ class Element():
if child.getName() == childName :
return child
- self.debug("Child %s not found" % childName, logging.ERROR)
+ self.debug('Child "%s" not found' % childName, logging.ERROR)
self.debug("Child list :")