diff options
author | 2015-12-08 07:58:36 +0100 | |
---|---|---|
committer | 2015-12-08 07:58:36 +0100 | |
commit | 10647652ebeff52c3dbc0419ab9030ba76d46122 (patch) | |
tree | 393e3561bd70fe90369e5aa9a859c90aa6bf8245 /pym/portage/package/ebuild/config.py | |
parent | Respect PYTHONDONTWRITEBYTECODE in test suite. (diff) | |
download | portage-10647652ebeff52c3dbc0419ab9030ba76d46122.tar.gz portage-10647652ebeff52c3dbc0419ab9030ba76d46122.tar.bz2 portage-10647652ebeff52c3dbc0419ab9030ba76d46122.zip |
portage.repository.config.RepoConfig: Delete user_location attribute and consistently use location attribute everywhere.
Diffstat (limited to 'pym/portage/package/ebuild/config.py')
-rw-r--r-- | pym/portage/package/ebuild/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
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:] |