1 |
commit: 41fe6026635c65f89c07c8eb8bf439a2f127e092 |
2 |
Author: Tom Wijsman <tomwij <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 2 16:23:20 2014 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Oct 1 22:57:17 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=41fe6026 |
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() |