From 029652ecb5da390ff3acc71ab98c9d53b2aa1a12 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 20 Jan 2022 11:06:04 -0800 Subject: modules/gnome: remove unnecessary type check This should have been removed when typed_kwargs was added --- mesonbuild/modules/gnome.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'mesonbuild') diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index a3df14b..b7427b6 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -1630,9 +1630,6 @@ class GnomeModule(ExtensionModule): if kwargs['docbook'] is not None: docbook = kwargs['docbook'] - if not isinstance(docbook, str): - raise MesonException('docbook value must be a string.') - # The docbook output is always ${docbook}-${name_of_xml_file} output = namebase + '-docbook' outputs = [] -- cgit v1.1