summaryrefslogtreecommitdiffstats
path: root/pym/portage/glsa.py
diff options
context:
space:
mode:
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