Skip to content

Commit

Permalink
modules/gnome: remove unnecessary type check
Browse files Browse the repository at this point in the history
This should have been removed when typed_kwargs was added
  • Loading branch information
dcbaker authored and eli-schwartz committed Jan 28, 2022
1 parent 457fb53 commit 029652e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mesonbuild/modules/gnome.py
Original file line number Diff line number Diff line change
Expand Up @@ -1630,9 +1630,6 @@ def gdbus_codegen(self, state: 'ModuleState', args: T.Tuple[str, T.Optional['Fil

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 = []
Expand Down

0 comments on commit 029652e

Please sign in to comment.