aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-07-06 23:20:13 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2018-07-07 04:33:24 -0700
commit4fb00ee1d8c79184e3a77f9266e90d42ff595f41 (patch)
tree401ca0cf5387f9e9662c63a22c5f6cf2ca5bee3a /mesonbuild/modules
parent4dc97a910ef0b9026048b71a020feb74fcc302af (diff)
downloadmeson-4fb00ee1d8c79184e3a77f9266e90d42ff595f41.zip
meson-4fb00ee1d8c79184e3a77f9266e90d42ff595f41.tar.gz
meson-4fb00ee1d8c79184e3a77f9266e90d42ff595f41.tar.bz2
Add new method: mlog.deprecation()
Instead of constructing it manually, use a helper.
Diffstat (limited to 'mesonbuild/modules')
-rw-r--r--mesonbuild/modules/gnome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 1732282..f3eabda 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -683,7 +683,7 @@ class GnomeModule(ExtensionModule):
langs = mesonlib.stringlistify(kwargs.pop('languages', []))
if langs:
- mlog.log(mlog.red('DEPRECATION:'), '''The "languages" argument of gnome.yelp() is deprecated.
+ mlog.deprecation('''The "languages" argument of gnome.yelp() is deprecated.
Use a LINGUAS file in the sources directory instead.
This will become a hard error in the future.''')