1 |
commit: 7895fb1406f9661664bb944ff4f0aa4fcd2c577d |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 10 18:53:37 2014 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Sep 30 00:42:25 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7895fb14 |
7 |
|
8 |
repository/config.py: Add auto_sync to the override-able variables |
9 |
|
10 |
--- |
11 |
pym/portage/repository/config.py | 6 ++++-- |
12 |
1 file changed, 4 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py |
15 |
index bb54b57..10bd477 100644 |
16 |
--- a/pym/portage/repository/config.py |
17 |
+++ b/pym/portage/repository/config.py |
18 |
@@ -462,8 +462,10 @@ class RepoConfigLoader(object): |
19 |
if repos_conf_opts is not None: |
20 |
# Selectively copy only the attributes which |
21 |
# repos.conf is allowed to override. |
22 |
- for k in ('aliases', 'eclass_overrides', 'force', 'masters', |
23 |
- 'priority', 'sync_cvs_repo', 'sync_type', 'sync_uri'): |
24 |
+ for k in ('aliases', 'auto_sync', 'eclass_overrides', |
25 |
+ 'force', 'masters', 'priority', 'sync_cvs_repo', |
26 |
+ 'sync_type', 'sync_uri', |
27 |
+ ): |
28 |
v = getattr(repos_conf_opts, k, None) |
29 |
if v is not None: |
30 |
setattr(repo, k, v) |