aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-03-14 17:04:27 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-04-14 18:37:04 -0400
commiteb2551c90e6710e5216bb2b9d31a01546cf53cb4 (patch)
treeba35e0c09acdff627273b1b900d77a0dc7a4d973
parentbb171c2dffd64724803c9a43d7b01e80c3a96064 (diff)
downloadmeson-eb2551c90e6710e5216bb2b9d31a01546cf53cb4.zip
meson-eb2551c90e6710e5216bb2b9d31a01546cf53cb4.tar.gz
meson-eb2551c90e6710e5216bb2b9d31a01546cf53cb4.tar.bz2
remove useless condition
not is_subproject() is the same check as self.subproject == ''
-rw-r--r--mesonbuild/interpreter/interpreter.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index b31b7a8..7acf391 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -2725,7 +2725,6 @@ external dependencies (including libraries) must go to "dependencies".''')
FeatureDeprecated.report(self.subproject)
if not self.is_subproject():
self.print_extra_warnings()
- if self.subproject == '':
self._print_summary()
def print_extra_warnings(self) -> None: