commit: 3c9d690a307b97a1d17e9b3b1b730118b673b831
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 15 07:57:41 2014 +0000
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Jun 16 15:36:56 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=3c9d690a
repository/config.py: Use the sync.module_names for the sync-type check
---
pym/portage/repository/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index 5e0d055..330e11b 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -560,7 +560,7 @@ class RepoConfigLoader(object):
sname, level=logging.ERROR,
noiselevel=-1)
continue
- if repo.sync_type not in (None, "cvs", "git", "rsync"):
+ if repo.sync_type not in portage.sync.module_names +
[None]:
writemsg_level("!!! %s\n" % _("Repository '%s'
has sync-type attribute set to unsupported value: '%s'") %
(sname, repo.sync_type),
level=logging.ERROR, noiselevel=-1)
continue