projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ced0da0
)
RepoConfigLoader: redundant cache_formats setting
author
Zac Medico
<zmedico@gentoo.org>
Thu, 27 Oct 2011 05:09:19 +0000
(22:09 -0700)
committer
Zac 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
patch
|
blob
|
history
diff --git
a/pym/portage/repository/config.py
b/pym/portage/repository/config.py
index 9b4a76f59c0a219e2dbe659e2c3969705404d7ae..a6d13e0839496a52411ed0a4f2eac9b419d44c5b 100644
(file)
--- a/
pym/portage/repository/config.py
+++ b/
pym/portage/repository/config.py
@@
-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():