From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-748409-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 7AA6F1389F5
	for <garchives@archives.gentoo.org>; Mon, 17 Nov 2014 00:55:29 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id DAA72E0CEF;
	Mon, 17 Nov 2014 00:55:27 +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 16129E0CEF
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Nov 2014 00:55:26 +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 0F015340327
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Nov 2014 00:55:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id A54A329FC
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Nov 2014 00:55:24 +0000 (UTC)
From: "Brian Dolbec" <brian.dolbec@gmail.com>
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" <brian.dolbec@gmail.com>
Message-ID: <1416185592.3da6a4ff0110c91c88cdbee9ec25f3526176941f.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: 3da6a4ff0110c91c88cdbee9ec25f3526176941f
X-VCS-Branch: repoman
Date: Mon, 17 Nov 2014 00:55:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 0266b941-9daf-403f-a858-336932096896
X-Archives-Hash: eacb01e7efa65825fa8ea80ebf4aeb10

commit:     3da6a4ff0110c91c88cdbee9ec25f3526176941f
Author:     Tom Wijsman <tomwij <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  2 16:23:20 2014 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Mon Nov 17 00:53:12 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=3da6a4ff

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()