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 6BDC21386F4 for ; Mon, 10 Aug 2015 14:45:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07FB7142DE; Mon, 10 Aug 2015 14:45:34 +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 42A60142F9 for ; Mon, 10 Aug 2015 14:45:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F03C3406D6 for ; Mon, 10 Aug 2015 14:45:32 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37E24144 for ; Mon, 10 Aug 2015 14:45:31 +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: <1439217919.b83e3c9d47e01066d5f1ac1c03586f2efdaaf881.mgorny@gentoo> Subject: [gentoo-commits] proj/portage:repoman commit in: pym/repoman/vcs/ X-VCS-Repository: proj/portage X-VCS-Files: pym/repoman/vcs/vcsstatus.py X-VCS-Directories: pym/repoman/vcs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b83e3c9d47e01066d5f1ac1c03586f2efdaaf881 X-VCS-Branch: repoman Date: Mon, 10 Aug 2015 14:45:31 +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: aa5bce26-c033-4958-af34-88e628c90d91 X-Archives-Hash: 7f7b84f71e373f0ba6cf1cc122b7edce commit: b83e3c9d47e01066d5f1ac1c03586f2efdaaf881 Author: Tom Wijsman gentoo org> AuthorDate: Mon Jun 2 16:23:20 2014 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 10 14:45:19 2015 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b83e3c9d repoman/vcs/vcsstatus.py: Only check VCS status in a VCS pym/repoman/vcs/vcsstatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/vcs/vcsstatus.py b/pym/repoman/vcs/vcsstatus.py index eedf866..f984832 100644 --- a/pym/repoman/vcs/vcsstatus.py +++ b/pym/repoman/vcs/vcsstatus.py @@ -22,7 +22,7 @@ class VCSStatus(object): def check(self, check_not_added): - if check_not_added: + if self.vcs and check_not_added: vcscheck = getattr(self, 'check_%s' % self.vcs) vcscheck()