From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 434AC1391DB for ; Sat, 15 Mar 2014 08:01:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8777E0AD1; Sat, 15 Mar 2014 08:01:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5942EE0AD1 for ; Sat, 15 Mar 2014 08:01:07 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 384CE33F8FB for ; Sat, 15 Mar 2014 08:01:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 8E30C188EB for ; Sat, 15 Mar 2014 08:01:03 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1394870261.601ed1923e0c48db32f5c9bd08c7b7efcd7236ce.dol-sen@gentoo> Subject: [gentoo-commits] proj/portage:plugin-sync commit in: pym/portage/repository/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/repository/config.py X-VCS-Directories: pym/portage/repository/ X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 601ed1923e0c48db32f5c9bd08c7b7efcd7236ce X-VCS-Branch: plugin-sync Date: Sat, 15 Mar 2014 08:01:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1cc3cdec-118c-404d-84b8-3d118d4ce649 X-Archives-Hash: 195d07f5ad4fea3b201a9aadc2a8f3c1 commit: 601ed1923e0c48db32f5c9bd08c7b7efcd7236ce Author: Brian Dolbec gentoo org> AuthorDate: Sat Mar 15 07:57:41 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Sat Mar 15 07:57:41 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=601ed192 portage/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 23a2a48..8085d3f 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -565,7 +565,7 @@ class RepoConfigLoader(object): sname, level=logging.ERROR, noiselevel=-1) continue - if repo.sync_type not in (None, "cvs", "git", "rsync", "websync"): + 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