From bc73dce3dccfd359be0dfc2236de3b9378e752e6 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 24 Oct 2014 05:15:35 +0300 Subject: [PATCH] Remove deprecated bits. --- interpreter.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/interpreter.py b/interpreter.py index 8b121f23f..bd6421d6a 100644 --- a/interpreter.py +++ b/interpreter.py @@ -690,12 +690,9 @@ class Interpreter(): 'generator' : self.func_generator, 'test' : self.func_test, 'install_headers' : self.func_install_headers, - 'headers' : self.func_headers, 'install_man' : self.func_install_man, - 'man' : self.func_man, 'subdir' : self.func_subdir, 'install_data' : self.func_install_data, - 'data' : self.func_data, 'configure_file' : self.func_configure_file, 'include_directories' : self.func_include_directories, 'add_global_arguments' : self.func_add_global_arguments, @@ -1148,10 +1145,6 @@ class Interpreter(): self.build.tests.append(t) mlog.debug('Adding test "', mlog.bold(args[0]), '".', sep='') - def func_headers(self, node, args, kwargs): - mlog.log(mlog.bold('Warning! '), 'Function headers() is deprecated, please use install_headers() instead.') - return self.func_install_headers(node, args, kwargs) - def func_install_headers(self, node, args, kwargs): args = self.flatten(args) for a in args: @@ -1161,10 +1154,6 @@ class Interpreter(): self.build.headers.append(h) return h - def func_man(self, node, args, kwargs): - mlog.log(mlog.bold('Warning! '), 'Function man() is deprecated, please use install_man() instead.') - return self.func_install_man(node, args, kwargs) - def func_install_man(self, node, args, kwargs): for a in args: if not isinstance(a, str): @@ -1207,10 +1196,6 @@ class Interpreter(): self.evaluate_codeblock(codeblock) self.subdir = prev_subdir - def func_data(self, node, args, kwargs): - mlog.log(mlog.bold('Warning! '), 'Function data() is deprecated, please use install_data() instead.') - return self.func_install_data(node, args, kwargs) - def func_install_data(self, node, args, kwargs): if len(args ) < 1: raise InvalidArguments('Data function must have at least one argument: the subdirectory.')