RepoConfigLoader: redundant cache_formats setting
authorZac Medico <zmedico@gentoo.org>
Thu, 27 Oct 2011 05:09:19 +0000 (22:09 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 27 Oct 2011 05:09:19 +0000 (22:09 -0700)
There's a loop that already handles this via setattr.

pym/portage/repository/config.py

index 9b4a76f59c0a219e2dbe659e2c3969705404d7ae..a6d13e0839496a52411ed0a4f2eac9b419d44c5b 100644 (file)
@@ -397,8 +397,6 @@ class RepoConfigLoader(object):
                                for x in layout_data['profile-formats'])
                        repo.portage1_profiles_compat = layout_data['profile-formats'] == ('portage-1-compat',)
 
-                       repo.cache_formats = layout_data['cache-formats']
-
                #Take aliases into account.
                new_prepos = {}
                for repo_name, repo in prepos.items():