modules/i18n: fix type annotations

Again, state.find_program is wrong
pull/11274/head
Dylan Baker 2 years ago
parent 57c59d3b99
commit 4c3d9ab22d
  1. 2
      mesonbuild/modules/i18n.py

@ -134,7 +134,7 @@ class I18nModule(ExtensionModule):
'gettext': self.gettext,
'itstool_join': self.itstool_join,
})
self.tools: T.Dict[str, T.Optional[ExternalProgram]] = {
self.tools: T.Dict[str, T.Optional[T.Union[ExternalProgram, build.Executable]]] = {
'itstool': None,
'msgfmt': None,
'msginit': None,

Loading…
Cancel
Save