depfixer: Add missing annotation that breaks mypy check

pull/13351/merge
Dylan Baker 4 months ago
parent 93f5ceb9ee
commit f76f9ddf28
  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 # Need to deduplicate rpaths, as macOS's install_name_tool
# is *very* allergic to duplicate -delete_rpath arguments # is *very* allergic to duplicate -delete_rpath arguments
# when calling depfixer on installation. # when calling depfixer on installation.
result = OrderedSet() result: OrderedSet[str] = OrderedSet()
current_cmd = 'FOOBAR' current_cmd = 'FOOBAR'
for line in out.split('\n'): for line in out.split('\n'):
line = line.strip() line = line.strip()

Loading…
Cancel
Save