projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
721dad9
)
Some whitespace to visualy separate the code
author
Tomas Chvatal
<scarabeus@gentoo.org>
Sun, 30 Jan 2011 23:45:31 +0000
(
00:45
+0100)
committer
Tomas Chvatal
<scarabeus@gentoo.org>
Sun, 30 Jan 2011 23:45:31 +0000
(
00:45
+0100)
pym/gentoolkit/eshowkw/keywords_content.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/eshowkw/keywords_content.py
b/pym/gentoolkit/eshowkw/keywords_content.py
index f7e57e065156a06efc1646a8b308527dc83c97a8..7cf53e7682d76bad301fab018cc7d8798e136d5d 100644
(file)
--- 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: