From 10647652ebeff52c3dbc0419ab9030ba76d46122 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 8 Dec 2015 07:58:36 +0100 Subject: portage.repository.config.RepoConfig: Delete user_location attribute and consistently use location attribute everywhere. --- pym/portage/package/ebuild/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pym/portage/package/ebuild/config.py') diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py index 7cf5a4cb3..b6217e737 100644 --- a/pym/portage/package/ebuild/config.py +++ b/pym/portage/package/ebuild/config.py @@ -539,13 +539,13 @@ class config(object): #filling PORTDIR and PORTDIR_OVERLAY variable for compatibility main_repo = self.repositories.mainRepo() if main_repo is not None: - self["PORTDIR"] = main_repo.user_location + self["PORTDIR"] = main_repo.location self.backup_changes("PORTDIR") expand_map["PORTDIR"] = self["PORTDIR"] # repoman controls PORTDIR_OVERLAY via the environment, so no # special cases are needed here. - portdir_overlay = list(self.repositories.repoUserLocationList()) + portdir_overlay = list(self.repositories.repoLocationList()) if portdir_overlay and portdir_overlay[0] == self["PORTDIR"]: portdir_overlay = portdir_overlay[1:] -- cgit v1.2.3-18-g5258