diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2010-05-13 16:07:10 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2010-05-13 16:07:10 +0000 |
| commit | 2da075929d99f961188efd63dffe6d650c917073 (patch) | |
| tree | 341a2b1a77b071b7a7a277be995ef8d76ddf2eb2 /bin/glsa-check | |
| parent | c559b22ab2fce149d57cb99f65ff54a136122f39 (diff) | |
| download | gentoolkit-2da075929d99f961188efd63dffe6d650c917073.tar.gz | |
Replace portage.db[/] with portage.db[portage.root] so that root is not hardcoded
svn path=/trunk/gentoolkit/; revision=782
Diffstat (limited to 'bin/glsa-check')
| -rwxr-xr-x | bin/glsa-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/glsa-check b/bin/glsa-check index a783c27..a8c0188 100755 --- a/bin/glsa-check +++ b/bin/glsa-check @@ -148,8 +148,8 @@ glsaconfig = checkconfig(portage.config(clone=portage.settings)) if quiet: glsaconfig["EMERGE_OPTS"] += " --quiet" -vardb = portage.db["/"]["vartree"].dbapi -portdb = portage.db["/"]["porttree"].dbapi +vardb = portage.db[portage.root]["vartree"].dbapi +portdb = portage.db[portage.root]["porttree"].dbapi # Check that we really have a glsa dir to work on if not (os.path.exists(glsaconfig["GLSA_DIR"]) and os.path.isdir(glsaconfig["GLSA_DIR"])): |
