aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2007-07-16 08:13:53 +0000
committerMarius Mauch <genone@gentoo.org>2007-07-16 08:13:53 +0000
commita7909bd6c4d7feea0628c432a77388a8d05ba67a (patch)
tree9fdb3f1013c1471531260a41eeff5e3f17017a13 /pym/portage/glsa.py
parentfix load logic for editable sets once more (diff)
downloadportage-a7909bd6c4d7feea0628c432a77388a8d05ba67a.tar.gz
portage-a7909bd6c4d7feea0628c432a77388a8d05ba67a.tar.bz2
portage-a7909bd6c4d7feea0628c432a77388a8d05ba67a.zip
ignore already applied glsas when loading the security set
svn path=/main/trunk/; revision=7275
Diffstat (limited to 'pym/portage/glsa.py')
-rw-r--r--pym/portage/glsa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py
index ee6343640..d8053a820 100644
--- a/pym/portage/glsa.py
+++ b/pym/portage/glsa.py
@@ -556,7 +556,7 @@ class Glsa:
@rtype: Boolean
@returns: True if the GLSA was applied, False if not
"""
- aList = grabfile(os.path.join(os.sep, self.config["ROOT"], CACHE_PATH.lstrip(os.sep)))
+ aList = grabfile(os.path.join(os.sep, self.config["ROOT"], CACHE_PATH.lstrip(os.sep), "glsa"))
return (self.nr in aList)
def inject(self):
@@ -569,7 +569,7 @@ class Glsa:
@returns: None
"""
if not self.isApplied():
- checkfile = open(os.path.join(os.sep, self.config["ROOT"], CACHE_PATH.lstrip(os.sep)), "a+")
+ checkfile = open(os.path.join(os.sep, self.config["ROOT"], CACHE_PATH.lstrip(os.sep), "glsa"), "a+")
checkfile.write(self.nr+"\n")
checkfile.close()
return None