Merge pull request #124 from mesosphere/remove-process-path

Remove process path from util
This commit is contained in:
Connor Doyle
2015-04-20 10:49:27 -07:00

View File

@@ -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