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 76C10138AD1 for ; Sun, 18 Jan 2015 18:04:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D328E08FA; Sun, 18 Jan 2015 18:04:36 +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 6E449E08FF for ; Sun, 18 Jan 2015 18:04:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3F653406DE for ; Sun, 18 Jan 2015 18:04:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 728A3FDBE for ; Sun, 18 Jan 2015 18:04:33 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1421604265.768b9e920fe0919d87537665ae3ce88007630cc1.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/sync/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/sync/controller.py X-VCS-Directories: pym/portage/sync/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 768b9e920fe0919d87537665ae3ce88007630cc1 X-VCS-Branch: master Date: Sun, 18 Jan 2015 18:04:33 +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: 738487dc-de6e-4c2c-970a-58e997615aee X-Archives-Hash: eef021a675e5630d8aeb915c3e3d08b5 commit: 768b9e920fe0919d87537665ae3ce88007630cc1 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 17 13:03:53 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jan 18 18:04:25 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=768b9e92 sync: fix module_names enumeration Fix module_names enumeration to consider all modules. Before, the first module on the list was omitted ('cvs' in this case). --- pym/portage/sync/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/sync/controller.py b/pym/portage/sync/controller.py index 9001298..3d217db 100644 --- a/pym/portage/sync/controller.py +++ b/pym/portage/sync/controller.py @@ -119,7 +119,7 @@ class SyncManager(object): self.callback = callback or self._sync_callback self.repo = repo self.exitcode = 1 - if repo.sync_type in self.module_names[1:]: + if repo.sync_type in self.module_names: tasks = [self.module_controller.get_class(repo.sync_type)] else: msg = "\n%s: Sync module '%s' is not an installed/known type'\n" \