summaryrefslogtreecommitdiffstats
path: root/waftools/dependencies.py
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/dependencies.py')
-rw-r--r--waftools/dependencies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/dependencies.py b/waftools/dependencies.py
index c1f3fdb022..87f236b362 100644
--- a/waftools/dependencies.py
+++ b/waftools/dependencies.py
@@ -119,7 +119,7 @@ the autodetection check failed.".format(self.identifier)
if self.enabled_option() == False:
return
if self.attributes.get('req', False):
- raise ConfigurationError(self.attributes['fmsg'])
+ raise ConfigurationError(self.attributes.get('fmsg', 'Unsatisfied requirement'))
def skip(self, reason='disabled', color='YELLOW'):
self.ctx.end_msg(self.__message__(reason), color)