summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-10 22:02:18 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-10 22:02:18 +0200
commitc6c142f12f2cb032867e793e7ec12f664837a82b (patch)
tree8339896a1f9196d813543928d1533b83c11447b8
parent660d57e1e15ddff799cb7f8871581d986ed12524 (diff)
downloadportato-c6c142f12f2cb032867e793e7ec12f664837a82b.tar.gz
portato-c6c142f12f2cb032867e793e7ec12f664837a82b.tar.bz2
portato-c6c142f12f2cb032867e793e7ec12f664837a82b.zip
Newer portage versions only return a relative config path.
Diffstat (limited to '')
-rw-r--r--portato/backend/portage/system_22.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/portato/backend/portage/system_22.py b/portato/backend/portage/system_22.py
index d720a06..f69e15c 100644
--- a/portato/backend/portage/system_22.py
+++ b/portato/backend/portage/system_22.py
@@ -63,3 +63,11 @@ class PortageSystem_22 (PortageSystem):
def new_package (self, cpv):
return PortagePackage_22(cpv)
+
+ def get_config_path (self):
+ path = PortageSystem.get_config_path(self)
+
+ if path[0] != "/":
+ return os.path.join(self.settings.settings["ROOT"], path)
+ else:
+ return path
'>2010-04-14Make some useless info messages being debug statementsRené 'Necoro' Neumann2-34/+17 2010-04-14Improve the C modulesRené 'Necoro' Neumann3-37/+52 2010-04-14Small modifications made to the French translation (typos, grammar).Clement Bourgeois1-69/+69 2010-04-14Fixed the unicode support and stuff ... and also made eix faster :)René 'Necoro' Neumann1-20/+22 2010-04-14Disable debug messages by defaultRené 'Necoro' Neumann1-1/+1 2010-04-13Better eix error inheritance and handlingRené 'Necoro' Neumann1-2/+9 2010-04-13Fix the handling of FilterSets. Fixes bug #558887.René 'Necoro' Neumann2-56/+64 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1