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)
committerZac Medico <zmedico@gentoo.org>
Wed, 24 Nov 2010 02:03:30 +0000 (18:03 -0800)
pym/portage/package/ebuild/_config/UseManager.py

index d9f6d991c7831547826aedaa4bc15a0c5ab3d139..5567e3578dbe5c24a15cd0a88ec1d5a3f40f8cf3 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 = []