summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-09-14 00:59:59 -0400
committerNirbheek Chauhan <nirbheek@centricular.com>2021-10-19 15:34:52 +0530
commitcb05b50f5f39e19a85aaaee6e5fe9f77d7b2a697 (patch)
treea2e51e8a5ef191f7c4539611694db497482dfe9d
parent742752dd8c2a3f13c6e2bc8e9b34fb7de5a5c682 (diff)
downloadmeson-cb05b50f5f39e19a85aaaee6e5fe9f77d7b2a697.tar.gz
fix untested codepath? add:item() is surely a typo, not a real function
Cherry-picked from https://github.com/mesonbuild/meson/pull/9256
-rw-r--r--mesonbuild/backend/xcodebackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py
index 59fb7d700..ff48ecf1c 100644
--- a/mesonbuild/backend/xcodebackend.py
+++ b/mesonbuild/backend/xcodebackend.py
@@ -592,7 +592,7 @@ class XCodeBackend(backends.Backend):
if isinstance(dep, dependencies.AppleFrameworks):
for f in dep.frameworks:
fw_dict = PbxDict()
- objects_dict.add:item(self.native_frameworks[f], fw_dict, f'{f}.framework in Frameworks')
+ objects_dict.add_item(self.native_frameworks[f], fw_dict, f'{f}.framework in Frameworks')
fw_dict.add_item('isa', 'PBXBuildFile')
fw_dict.add_item('fileRef', self.native_frameworks_fileref[f], f)