From abbbe4535a9b5f5264b22379425b17a8c261e7af Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Mon, 31 Jan 2011 00:45:31 +0100 Subject: [PATCH] Some whitespace to visualy separate the code --- pym/gentoolkit/eshowkw/keywords_content.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py index f7e57e0..7cf53e7 100644 --- a/pym/gentoolkit/eshowkw/keywords_content.py +++ b/pym/gentoolkit/eshowkw/keywords_content.py @@ -113,6 +113,7 @@ class keywords_content: """Prefix and suffix version with string based on whether version is installed or masked and its revision.""" mask = self.__getMaskStatus(cpv) install = self.__getInstallStatus(cpv) + # calculate suffix length currevlen = len(self.__getRevision(cpv)) suffixlen = revlength - currevlen @@ -122,6 +123,7 @@ class keywords_content: suffix = '' for x in range(suffixlen): suffix = '%s ' % suffix + if mask and install: pv = '[M][I]%s%s' % (pv, suffix) elif mask: -- 2.26.2