aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2022-09-02 13:38:00 -0700
committerEli Schwartz <eschwartz@archlinux.org>2022-10-03 00:00:26 -0400
commit988a50b19c448b67a23256eab1d973ccbabe4030 (patch)
tree612761eb8f2dc3c253427a01af7ae7d66fe2f493 /mesonbuild
parentdb7503690ce4946b64056acc72c3487468e528a6 (diff)
downloadmeson-988a50b19c448b67a23256eab1d973ccbabe4030.zip
meson-988a50b19c448b67a23256eab1d973ccbabe4030.tar.gz
meson-988a50b19c448b67a23256eab1d973ccbabe4030.tar.bz2
pylint: enable unnecessary-dunder-call
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/arglist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/arglist.py b/mesonbuild/arglist.py
index 2f1ce3c..f7d7530 100644
--- a/mesonbuild/arglist.py
+++ b/mesonbuild/arglist.py
@@ -324,10 +324,10 @@ class CompilerArgs(T.MutableSequence[str]):
return NotImplemented
def append(self, arg: str) -> None:
- self.__iadd__([arg])
+ self += [arg]
def extend(self, args: T.Iterable[str]) -> None:
- self.__iadd__(args)
+ self += args
def __repr__(self) -> str:
self.flush_pre_post()