commit: a694c550f5a43222a135ee65e4fead1bc544feba
Author: Tom Wijsman <tomwij <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 2 16:23:20 2014 +0000
Commit: Tom Wijsman <tomwij <AT> gentoo <DOT> 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()