diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-07-17 18:39:36 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-02 22:01:13 +0300 |
commit | 20b57d6e1560d0eb6d9dfc455de41b8352bcb39f (patch) | |
tree | 614105ec8217fc2e0cbbfb6adbd98b654387eb84 /mesonintrospect.py | |
parent | 59a35c4c53bb5f3b6b787d12767d8128e8d0fa3b (diff) | |
download | meson-20b57d6e1560d0eb6d9dfc455de41b8352bcb39f.zip meson-20b57d6e1560d0eb6d9dfc455de41b8352bcb39f.tar.gz meson-20b57d6e1560d0eb6d9dfc455de41b8352bcb39f.tar.bz2 |
Write deprecation warnings to stderr.
Diffstat (limited to 'mesonintrospect.py')
-rwxr-xr-x | mesonintrospect.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mesonintrospect.py b/mesonintrospect.py index 3a21c5e..5cc07bf 100755 --- a/mesonintrospect.py +++ b/mesonintrospect.py @@ -14,9 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -from mesonbuild import mesonmain, mlog +from mesonbuild import mesonmain import sys if __name__ == '__main__': - mlog.warning('This executable is deprecated. Use "meson introspect" instead.') + print('Warning: This executable is deprecated. Use "meson introspect" instead.', + file=sys.stderr) sys.exit(mesonmain.run(['introspect'] + sys.argv[1:])) |