Update mesonbuild/modules/gnome.py

Co-authored-by: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
pull/7333/head
Xavier Claessens 4 years ago
parent 2ebda584ad
commit f40e1567f5
  1. 2
      mesonbuild/modules/gnome.py

@ -803,7 +803,7 @@ class GnomeModule(ExtensionModule):
mlog.deprecation('Passing --warn-error is deprecated in favor of "fatal_warnings" keyword argument since v0.55')
fatal_warnings = kwargs.get('fatal_warnings', False)
if not isinstance(fatal_warnings, bool):
raise MesonException('fatal_warnings keyword argument must be string.')
raise MesonException('fatal_warnings keyword argument must be a boolean')
if fatal_warnings:
scan_command.append('--warn-error')

Loading…
Cancel
Save