Permalink
Browse files

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>
  • Loading branch information...
zulcss authored and aakarshgopi committed Aug 7, 2018
1 parent 7c3aed6 commit c9a3a4bf0f54c1f7a3da211035c3a521d721be38
Showing with 0 additions and 12 deletions.
  1. +0 −12 browbeat/tools.py
@@ -60,18 +60,6 @@ def run_cmd(self, cmd):
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)

0 comments on commit c9a3a4b

Please sign in to comment.