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 670CA1381FA for ; Mon, 2 Jun 2014 16:25:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47EFBE09D1; Mon, 2 Jun 2014 16:25:01 +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 C5215E09D1 for ; Mon, 2 Jun 2014 16:25:00 +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 DE45B33FEDF for ; Mon, 2 Jun 2014 16:24:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 55498181A9 for ; Mon, 2 Jun 2014 16:24:58 +0000 (UTC) From: "Tom Wijsman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tom Wijsman" Message-ID: <1401726200.a694c550f5a43222a135ee65e4fead1bc544feba.tomwij@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: tomwij X-VCS-Committer-Name: Tom Wijsman X-VCS-Revision: a694c550f5a43222a135ee65e4fead1bc544feba X-VCS-Branch: repoman Date: Mon, 2 Jun 2014 16:24:58 +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: 4627ec34-859f-414f-9f94-b79f5b71f495 X-Archives-Hash: 37538cdb4e8ca38dd659f72e12361468 commit: a694c550f5a43222a135ee65e4fead1bc544feba Author: Tom Wijsman gentoo org> AuthorDate: Mon Jun 2 16:23:20 2014 +0000 Commit: Tom Wijsman gentoo org> CommitDate: Mon Jun 2 16:23:20 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a694c550 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()