From: scarabeus Date: Mon, 22 Nov 2010 19:13:46 +0000 (-0000) Subject: Run the keywords check only if the keywords are not empty. X-Git-Tag: gentoolkit-0.3.0~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e88d271d9b4d72c467ab41258867d34b6b615ade;p=gentoolkit.git Run the keywords check only if the keywords are not empty. svn path=/trunk/gentoolkit/; revision=863 --- 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