diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-09-04 19:57:53 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-09-04 19:57:53 +0200 |
commit | f8f1d8c4ffd6848297e810181707adf87e442bb6 (patch) | |
tree | dce957f751e6b6a8a078b2a1145fa2ed7f8571c7 /pym/portage/glsa.py | |
parent | 0e52b06e0da1dc22a09f80f198c4fa7e4a5aa9aa (diff) | |
download | portage-f8f1d8c4ffd6848297e810181707adf87e442bb6.tar.gz portage-f8f1d8c4ffd6848297e810181707adf87e442bb6.tar.bz2 portage-f8f1d8c4ffd6848297e810181707adf87e442bb6.zip |
use EROOT with CACHE_PATH
Diffstat (limited to 'pym/portage/glsa.py')
-rw-r--r-- | pym/portage/glsa.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py index 9b599528f..b88a07662 100644 --- a/pym/portage/glsa.py +++ b/pym/portage/glsa.py @@ -36,7 +36,7 @@ def get_applied_glsas(settings): @rtype: list @return: list of glsa IDs """ - return grabfile(os.path.join(os.sep, settings["ROOT"], CACHE_PATH, "glsa")) + return grabfile(os.path.join(os.sep, settings["EROOT"], CACHE_PATH, "glsa")) # TODO: use the textwrap module instead @@ -666,7 +666,7 @@ class Glsa: """ if not self.isApplied(): checkfile = codecs.open( - _unicode_encode(os.path.join(os.sep, self.config["ROOT"], + _unicode_encode(os.path.join(os.sep, self.config["EROOT"], CACHE_PATH, "glsa"), encoding=_encodings['fs'], errors='strict'), mode='a+', encoding=_encodings['content'], errors='strict') |