Gentoo Archives: gentoo-commits

From: Brian Dolbec <brian.dolbec@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/
Date: Fri, 02 May 2014 23:13:42
Message-Id: 1399072156.98a63003d8cf053990184fcadd188ab303949905.dol-sen@gentoo
1 commit: 98a63003d8cf053990184fcadd188ab303949905
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 15 07:57:41 2014 +0000
4 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
5 CommitDate: Fri May 2 23:09:16 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=98a63003
7
8 repository/config.py: Use the sync.module_names for the sync-type check
9
10 ---
11 pym/portage/repository/config.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
15 index 5e0d055..330e11b 100644
16 --- a/pym/portage/repository/config.py
17 +++ b/pym/portage/repository/config.py
18 @@ -560,7 +560,7 @@ class RepoConfigLoader(object):
19 sname, level=logging.ERROR, noiselevel=-1)
20 continue
21
22 - if repo.sync_type not in (None, "cvs", "git", "rsync"):
23 + if repo.sync_type not in portage.sync.module_names + [None]:
24 writemsg_level("!!! %s\n" % _("Repository '%s' has sync-type attribute set to unsupported value: '%s'") %
25 (sname, repo.sync_type), level=logging.ERROR, noiselevel=-1)
26 continue