Skip to content

Commit

Permalink
interpreter: fix signatute type of install_data_impl
Browse files Browse the repository at this point in the history
in `func_install_data`, `rename` parametter is ContainerTypeInfo(list, str)
in `module/python.py`, rename is `None`

rename is stored in `build.Data` object under the type `T.List[str]`
  • Loading branch information
chubinou committed Aug 9, 2024
1 parent dfd22db commit c20ef07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/interpreter/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@ def func_install_data(self, node: mparser.BaseNode,
follow_symlinks=kwargs['follow_symlinks'])

def install_data_impl(self, sources: T.List[mesonlib.File], install_dir: str,
install_mode: FileMode, rename: T.Optional[str],
install_mode: FileMode, rename: T.Optional[T.List[str]],
tag: T.Optional[str],
install_data_type: T.Optional[str] = None,
preserve_path: bool = False,
Expand Down

0 comments on commit c20ef07

Please sign in to comment.