depfixer: Add missing annotation that breaks mypy check

(cherry picked from commit f76f9ddf28)
1.5
Dylan Baker 7 months ago committed by Eli Schwartz
parent 18ef17e048
commit b6c98c1c95
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      mesonbuild/scripts/depfixer.py

@ -386,7 +386,7 @@ def get_darwin_rpaths(fname: str) -> OrderedSet[str]:
# Need to deduplicate rpaths, as macOS's install_name_tool
# is *very* allergic to duplicate -delete_rpath arguments
# when calling depfixer on installation.
result = OrderedSet()
result: OrderedSet[str] = OrderedSet()
current_cmd = 'FOOBAR'
for line in out.split('\n'):
line = line.strip()

Loading…
Cancel
Save