Skip to content

Commit 2bd3095

Browse files
dcbakerxclaesse
authored andcommitted
wrap: fix type annotations
1 parent 42cc929 commit 2bd3095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mesonbuild/wrap/wrap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,12 @@ def get_directory(subdir_root: str, packagename: str) -> str:
187187
return wrap.directory
188188
return packagename
189189

190-
def verbose_git(*args, **kwargs):
190+
def verbose_git(cmd: T.List[str], workingdir: str, check: bool = False) -> bool:
191191
'''
192192
Wrapper to convert GitException to WrapException caught in interpreter.
193193
'''
194194
try:
195-
return mesonlib.verbose_git(*args, **kwargs)
195+
return mesonlib.verbose_git(cmd, workingdir, check=check)
196196
except mesonlib.GitException as e:
197197
raise WrapException(str(e))
198198

0 commit comments

Comments
 (0)