Gentoo Archives: gentoo-commits

From: Tom Wijsman <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:repoman commit in: pym/repoman/vcs/
Date: Mon, 02 Jun 2014 16:25:03
Message-Id: 1401726200.a694c550f5a43222a135ee65e4fead1bc544feba.tomwij@gentoo
1 commit: a694c550f5a43222a135ee65e4fead1bc544feba
2 Author: Tom Wijsman <tomwij <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 2 16:23:20 2014 +0000
4 Commit: Tom Wijsman <tomwij <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 2 16:23:20 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a694c550
7
8 repoman/vcs/vcsstatus.py: Only check VCS status in a VCS
9
10 ---
11 pym/repoman/vcs/vcsstatus.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/pym/repoman/vcs/vcsstatus.py b/pym/repoman/vcs/vcsstatus.py
15 index eedf866..f984832 100644
16 --- a/pym/repoman/vcs/vcsstatus.py
17 +++ b/pym/repoman/vcs/vcsstatus.py
18 @@ -22,7 +22,7 @@ class VCSStatus(object):
19
20
21 def check(self, check_not_added):
22 - if check_not_added:
23 + if self.vcs and check_not_added:
24 vcscheck = getattr(self, 'check_%s' % self.vcs)
25 vcscheck()