Skip to content

Commit

Permalink
remove some debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkinsc committed Apr 9, 2019
1 parent 6b55a52 commit d6fc985
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ def execute(self, cmd, loglevel=logging.DEBUG, buffered=None, check=None, silent
if cmd[0] in self.QUIET_COMMANDS:
run_cmd.extend(['-q', '-y'])
run_cmd.extend(cmd)
print("run_cmd",run_cmd)
result = util.misc.run_and_print(
run_cmd, loglevel=loglevel, env=self.conda_env, buffered=buffered, check=check, silent=silent, stderr=stderr)

Expand All @@ -242,7 +241,6 @@ def execute(self, cmd, loglevel=logging.DEBUG, buffered=None, check=None, silent
data = json.loads(self._string_from_start_of_json(command_output.strip()))
return data
except Exception as e:
_log.warning("exception: %s", str(e))
_log.warning("Failed to decode JSON during conda command '%s' emitting output: %s", " ".join(run_cmd),result.stdout.decode("UTF-8"))
return # return rather than raise so we can fall back to the next install method

Expand Down
4 changes: 0 additions & 4 deletions util/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,6 @@ def run_and_print(args, stdout=None, stderr=subprocess.STDOUT,
This is useful for nose, which has difficulty capturing stdout of
subprocess invocations.
'''
log.debug("silent",silent)
log.debug("buffered",buffered)
log.debug("check",check)
log.debug("run_and_print args"," ".join(args))
if not buffered:
if check and not silent:
try:
Expand Down

0 comments on commit d6fc985

Please sign in to comment.