Merge pull request #124 from mesosphere/remove-process-path
Remove process path from util
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user