Rename _parse_profile_files_to_list() to _parse_profile_files_to_tuple().
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sun, 14 Nov 2010 17:12:39 +0000 (18:12 +0100)
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>
Sun, 14 Nov 2010 17:12:39 +0000 (18:12 +0100)
pym/portage/package/ebuild/_config/UseManager.py

index e80a2c25f2aad486a72bca8ac1ff754479dd6e3f..99e2fea070ad821c6e1c6c35a765e17c00a2180e 100644 (file)
@@ -43,9 +43,9 @@ class UseManager(object):
                #--------------------------------
                #       puse
 
-               self._usemask_list = self._parse_profile_files_to_list("use.mask", profiles)
-               self._useforce_list = self._parse_profile_files_to_list("use.force", profiles)
-               self._useunsatisfiable_list = self._parse_profile_files_to_list("use.unsatisfiable", profiles)
+               self._usemask_list = self._parse_profile_files_to_tuple("use.mask", profiles)
+               self._useforce_list = self._parse_profile_files_to_tuple("use.force", profiles)
+               self._useunsatisfiable_list = self._parse_profile_files_to_tuple("use.unsatisfiable", profiles)
                self._pusemask_list = self._parse_profile_files_to_dict("package.use.mask", profiles)
                self._pkgprofileuse = self._parse_profile_files_to_dict("package.use", profiles, juststrings=True)
                self._puseforce_list = self._parse_profile_files_to_dict("package.use.force", profiles)
@@ -63,7 +63,7 @@ class UseManager(object):
 
                return ret
 
-       def _parse_profile_files_to_list(self, file_name, locations):
+       def _parse_profile_files_to_tuple(self, file_name, locations):
                ret = []
                for profile in locations:
                        profile_lines = []