commit: 4d306fa2e2280f98dcb70fafdb43e1cbf5e1663d 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 22:43:11 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4d306fa2
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