From: Tomas Chvatal Date: Sun, 30 Jan 2011 23:45:31 +0000 (+0100) Subject: Some whitespace to visualy separate the code X-Git-Tag: gentoolkit-0.3.0~15^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=abbbe4535a9b5f5264b22379425b17a8c261e7af;p=gentoolkit.git Some whitespace to visualy separate the code --- 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: