aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mconf.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-03-11 14:41:26 -0700
committerJussi Pakkanen <jpakkane@gmail.com>2020-03-15 22:30:19 +0200
commit1bb66d15684aa694b88a62e33159f8cfee16ef25 (patch)
treee7049dd4397ec7b09b2065fea85b007a14334a33 /mesonbuild/mconf.py
parent79198de6cf012e681b436f8bcea4230c2979841c (diff)
downloadmeson-1bb66d15684aa694b88a62e33159f8cfee16ef25.zip
meson-1bb66d15684aa694b88a62e33159f8cfee16ef25.tar.gz
meson-1bb66d15684aa694b88a62e33159f8cfee16ef25.tar.bz2
fix conversion of hasattr to getattr
getattr() requires a default (return if missing) value or it raises an AttributeError. In a few cases I changed hasattr to getattr and didn't set a default value, so those cases could except. This corrects that.
Diffstat (limited to 'mesonbuild/mconf.py')
0 files changed, 0 insertions, 0 deletions