projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5527b61
)
Bug #303445 - Fix getmaskingreason() to reset comment state when looping to
author
Zac Medico
<zmedico@gentoo.org>
Thu, 4 Feb 2010 19:31:11 +0000
(19:31 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 4 Feb 2010 19:31:11 +0000
(19:31 -0000)
the next package.mask file.
svn path=/main/trunk/; revision=15321
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index eae469ac9d3f0b3d0615311233c1a76752270423..6d358f5163c7fdd09f56b76bb0f3072a8eee7dd5 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-8576,10
+8576,9
@@
def getmaskingreason(mycpv, metadata=None, settings=None, portdb=None, return_lo
if mycp in settings.pmaskdict:
for x in settings.pmaskdict[mycp]:
if match_from_list(x, cpv_slot_list):
- comment = ""
- l = "\n"
- comment_valid = -1
for pmask in pmasklists:
+ comment = ""
+ comment_valid = -1
pmask_filename = os.path.join(pmask[0], "package.mask")
for i in range(len(pmask[1])):
l = pmask[1][i].strip()