From 58c5b49ae6d822f07879bf7f6a87271b77e7e75d Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Wed, 28 Oct 2009 00:30:09 +0100 Subject: Corrected config path handling. Now also the 2.1 portage does not include / anymore. Handle this. --- portato/backend/portage/system_22.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'portato/backend/portage/system_22.py') diff --git a/portato/backend/portage/system_22.py b/portato/backend/portage/system_22.py index f69e15c..d720a06 100644 --- a/portato/backend/portage/system_22.py +++ b/portato/backend/portage/system_22.py @@ -63,11 +63,3 @@ 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 -- cgit v1.2.3-54-g00ecf