gbdx_cloud_harness/controller.py
def _get_template_abs_path(filename):
        """
        Return a valid absolute path. filename can be relative or absolute.
        """
        if os.path.isabs(filename) and os.path.isfile(filename):
            return filename
        else:
            return os.path.join(os.getcwd(), filename)
def _get_template_abs_path(filename):
        if os.path.isabs(filename) and os.path.isfile(filename):
            return filename
        else:
            return os.path.join(os.getcwd(), filename)
def _get_template_abs_path ( filename ) : if os . path . isabs ( filename ) and os . path . isfile ( filename ) : return filename else : return os . path . join ( os . getcwd ( ) , filename )
Return a valid absolute path. filename can be relative or absolute.
Return a valid absolute path . filename can be relative or absolute .