From 17e8bcdf04e3a454527731f2df594c52996b0bf7 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 16 Jun 2013 17:48:47 +0300 Subject: [PATCH] Print external program detection info. --- dependencies.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dependencies.py b/dependencies.py index c3af8f028..4f7c1d49b 100644 --- a/dependencies.py +++ b/dependencies.py @@ -132,6 +132,10 @@ class ExternalProgram(): self.fullpath = fullpath else: self.fullpath = shutil.which(name) + if self.found(): + print('Program %s found: YES (%s)' % (name, self.fullpath)) + else: + print('Program %s found: NO' % name) def found(self): return self.fullpath is not None