Merge pull request #129 from ignatenkobrain/print_twice

don't print twice about not found dependency. Closes #128
pull/131/head
jpakkane 10 years ago
commit 1eeec5749f
  1. 1
      dependencies.py

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

Loading…
Cancel
Save