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 8FDF713838B for ; Wed, 1 Oct 2014 23:46:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1308AE08A1; Wed, 1 Oct 2014 23:46:39 +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 88284E08A1 for ; Wed, 1 Oct 2014 23:46:38 +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 838AD340372 for ; Wed, 1 Oct 2014 23:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26FC52ADF for ; Wed, 1 Oct 2014 23:46:35 +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: <1412207132.d5edea08999256c46cee5bac2ac0c641e0821220.dol-sen@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: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: d5edea08999256c46cee5bac2ac0c641e0821220 X-VCS-Branch: repoman Date: Wed, 1 Oct 2014 23:46:35 +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: f5eb48c4-3126-4228-86db-d3e115d10f50 X-Archives-Hash: 319c0efd416b1773229e1283f9988802 commit: d5edea08999256c46cee5bac2ac0c641e0821220 Author: Tom Wijsman gentoo org> AuthorDate: Mon Jun 2 16:23:20 2014 +0000 Commit: Brian Dolbec gmail com> CommitDate: Wed Oct 1 23:45:32 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d5edea08 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()