Remove dead code

The find_cmd is not being used anywhere so remove it.

Change-Id: Ib3cc664b7af049e236e7662eee4890b1f40de646
Signed-off-by: Chuck Short <chucks@redhat.com>
This commit is contained in:
Chuck Short 2018-08-07 09:17:41 -04:00 committed by Aakarsh
parent 7c3aed604e
commit c9a3a4bf0f
1 changed files with 0 additions and 12 deletions

View File

@ -60,18 +60,6 @@ class Tools(object):
self.logger.error("stderr: {}".format(stderr))
return output_dict
# Find Command on host
def find_cmd(self, cmd):
_cmd = "which %s" % cmd
self.logger.debug('Find Command : Command : %s' % _cmd)
command = self.run_cmd(_cmd)['stdout']
if command is None:
self.logger.error("Unable to find %s" % cmd)
raise Exception("Unable to find command : '%s'" % cmd)
return False
else:
return command.strip()
# Create directory for results
def create_results_dir(self, *args):
the_directory = '/'.join(args)