diff --git a/dcos/api/util.py b/dcos/api/util.py index 109ce11..6f5559b 100644 --- a/dcos/api/util.py +++ b/dcos/api/util.py @@ -1,5 +1,4 @@ import contextlib -import inspect import json import logging import os @@ -82,16 +81,6 @@ def which(program): return None -def process_executable_path(): - """Returns the real path to the program for this running process - - :returns: the real path to the program - :rtype: str - """ - - return os.path.realpath(inspect.stack()[-1][1]) - - def dcos_path(): """Returns the real DCOS path based on the current executable