From e88d271d9b4d72c467ab41258867d34b6b615ade Mon Sep 17 00:00:00 2001 From: scarabeus Date: Mon, 22 Nov 2010 19:13:46 +0000 Subject: [PATCH] Run the keywords check only if the keywords are not empty. svn path=/trunk/gentoolkit/; revision=863 --- pym/gentoolkit/eshowkw/keywords_content.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py index 204c9cf..9ca6c4d 100644 --- a/pym/gentoolkit/eshowkw/keywords_content.py +++ b/pym/gentoolkit/eshowkw/keywords_content.py @@ -69,7 +69,8 @@ class keywords_content: kw = self.__cleanKeyword(keyword) for kwi in keywords: kwi = self.__cleanKeyword(kwi) - kw = self.__checkShadow(kw, kwi) + if kwi: + kw = self.__checkShadow(kw, kwi) if not kw: return True return False -- 2.26.2