Skip to content

Commit

Permalink
Remove some debugging code left in accidentally
Browse files Browse the repository at this point in the history
  • Loading branch information
dshafik committed Jun 19, 2017
1 parent 2dda54f commit 8dd93e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions akamai.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ func cmdSubcommand(c *cli.Context) error {

executable, err := findExec(cmd)
if err != nil {
fmt.Printf("%#v\n", err)
return cli.NewExitError(color.RedString("Executable \"%s\" not found.", cmd), 1)
}

Expand Down Expand Up @@ -220,7 +219,6 @@ func cmdHelp(c *cli.Context) error {
}

func passthruCommand(executable []string) error {
fmt.Printf("%#v\n\n", executable)
subCmd := exec.Command(executable[0], executable[1:]...)
subCmd.Stdin = os.Stdin
subCmd.Stderr = os.Stderr
Expand Down Expand Up @@ -941,8 +939,6 @@ func installPython(dir string, cmdPackage commandPackage) (bool, error) {
} else {
cmd := exec.Command(bin, "install", "--isolated", "--prefix", dir, "-r", "requirements.txt")
cmd.Dir = dir
cmd.Stderr = os.Stderr
cmd.Stdout = os.Stdout
err = cmd.Run()
}
if err != nil {
Expand Down Expand Up @@ -974,7 +970,7 @@ func setPythonPath(packageDir string) error {
if len(pythonPaths) > 0 {
pythonPath = pythonPaths[0]
}

systemPythonPath := os.Getenv("PYTHONPATH")
if systemPythonPath == "" {
bin, _ := exec.LookPath("python")
Expand Down

0 comments on commit 8dd93e9

Please sign in to comment.