portage.repository.config.RepoConfigLoader: Rename _add_overlays() to
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sun, 25 Dec 2011 19:40:40 +0000 (20:40 +0100)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sun, 25 Dec 2011 19:40:40 +0000 (20:40 +0100)
_add_repositories().

pym/portage/repository/config.py

index 0b99e1bf5bdbd73f056a764dc2ed1f31b9df1b20..f98b9b7eacbfd0614a55f1787e685288dabfae1d 100644 (file)
@@ -290,7 +290,7 @@ class RepoConfigLoader(object):
        """Loads and store config of several repositories, loaded from PORTDIR_OVERLAY or repos.conf"""
 
        @staticmethod
-       def _add_overlays(portdir, portdir_overlay, prepos, ignored_map, ignored_location_map):
+       def _add_repositories(portdir, portdir_overlay, prepos, ignored_map, ignored_location_map):
                """Add overlays in PORTDIR_OVERLAY as repositories"""
                overlays = []
                if portdir:
@@ -427,7 +427,7 @@ class RepoConfigLoader(object):
 
                # If PORTDIR_OVERLAY contains a repo with the same repo_name as
                # PORTDIR, then PORTDIR is overridden.
-               portdir = self._add_overlays(portdir, portdir_overlay, prepos,
+               portdir = self._add_repositories(portdir, portdir_overlay, prepos,
                        ignored_map, ignored_location_map)
                if portdir and portdir.strip():
                        portdir = os.path.realpath(portdir)