don't print twice about not found dependency. Closes #128

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/129/head
Igor Gnatenko 10 years ago
parent 0ba1d545af
commit 8f909e043f
  1. 1
      dependencies.py

@ -82,7 +82,6 @@ class PkgConfigDependency(Dependency):
stderr=subprocess.PIPE)
out = p.communicate()[0]
if p.returncode != 0:
mlog.log('Dependency', name, 'found:', mlog.red('NO'))
if required:
raise DependencyException('Required dependency %s not found.' % name)
self.modversion = 'none'

Loading…
Cancel
Save