From 24ae120868fa00f6b6866bcc80e8f3d13203fe89 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 11 Mar 2018 20:25:05 +0200 Subject: Turn deprecated commands into errors. --- mesonconf.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'mesonconf.py') diff --git a/mesonconf.py b/mesonconf.py index d1874e0..894ec01 100755 --- a/mesonconf.py +++ b/mesonconf.py @@ -14,10 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from mesonbuild import mesonmain import sys if __name__ == '__main__': - print('Warning: This executable is deprecated. Use "meson configure" instead.', - file=sys.stderr) - sys.exit(mesonmain.run(['configure'] + sys.argv[1:])) + sys.exit('Error: This executable is no more. Use "meson configure" instead.') -- cgit v1.1