diff options
author | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-07-09 10:17:55 +0200 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-07-09 10:19:23 +0200 |
commit | 2f68edf267858c3f4cdef9f5ef7106e549694c6d (patch) | |
tree | 07587944cb9bb71baa16a9145b8ea71a81991ab0 /tools | |
parent | 4f9aed1255e6e766ff1c53ea64965a3a66467376 (diff) | |
download | tizen-2f68edf267858c3f4cdef9f5ef7106e549694c6d.tar.gz tizen-2f68edf267858c3f4cdef9f5ef7106e549694c6d.tar.bz2 tizen-2f68edf267858c3f4cdef9f5ef7106e549694c6d.zip |
Remove unused functions
Change-Id: Ide76037223e1a95cfdcb626a4929559a213c3e3d
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/spec2yocto.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/spec2yocto.py b/tools/spec2yocto.py index f8330aee4..ec3d52b85 100755 --- a/tools/spec2yocto.py +++ b/tools/spec2yocto.py @@ -1057,27 +1057,6 @@ Group: devel return parsed_spec_file - def have_macro_configure( self ): - ''' - return the number of macro %configure used inn the spec file. - ''' - res_macro_configure = 0 - raw_build_section = self.get_raw_build_section() - configure_count = raw_build_section.count( "%configure" ) - res_macro_configure += configure_count - return res_macro_configure - - def have_macro_reconfigure( self ): - ''' - return the number of macro %reconfigure used inn the spec file. - ''' - res_have_macro_reconfigure = 0 - raw_build_section = self.get_raw_build_section() - reconfigure_count = raw_build_section.count( "%reconfigure" ) - - res_have_macro_reconfigure += reconfigure_count - return res_have_macro_reconfigure - def get_install_section( self ): ''' return the install section. |