From 7784f4a2a3b46bbeaf0f85f62630013861bbf3e5 Mon Sep 17 00:00:00 2001 From: Kevin Rocard Date: Mon, 10 Jun 2013 15:09:16 +0200 Subject: [Coverage] Delete useless brackets BZ: 115218 Some brackets around return value were used to wrap lines that did not need to be wrapped. Unwrap lines and delete the brackets. Change-Id: I7583deff42b8b4db1ef7dbb61f24329dec908ec3 Signed-off-by: Kevin Rocard Reviewed-on: http://android.intel.com:8080/112708 Reviewed-by: Denneulin, Guillaume Reviewed-by: Gonzalve, Sebastien Reviewed-by: cactus Tested-by: Dixon, CharlesX Reviewed-by: buildbot Tested-by: buildbot --- tools/coverage.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/coverage.py b/tools/coverage.py index e017cf5..c4250fa 100755 --- a/tools/coverage.py +++ b/tools/coverage.py @@ -50,13 +50,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. Did you restart de PFW ?" % - (self.child, self.parent)) + return "Add existing child %s in %s." % (self.child, self.parent) class Element(): """Root class for all coverage elements""" -- cgit v1.1