Skip to content

Commit

Permalink
Update install-agent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-akabote authored Dec 17, 2018
1 parent a673a98 commit 5fec0d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install-agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ def __init__(self, host, port, proxy=None, retries=None):
self.os = get_os()
self.pip = 'pip'
self.python = 'python'
if os.path.isfile("/usr/bin/python"):
self.python = "/usr/bin/python"
self.pip = self.python + " -m pip"
#if os.path.isfile("/usr/bin/python"):
# self.python = "/usr/bin/python"
# self.pip = self.python + " -m pip"

def _run_cmd(self, cmd, shell, ignore_err=False, print_output=False):
"""
Expand Down

0 comments on commit 5fec0d8

Please sign in to comment.