swiftly/cli/iomanager.py
def get_stdout(self, os_path=None, skip_sub_command=False):
        """
        Returns a stdout-suitable file-like object based on the
        optional os_path and optionally skipping any configured
        sub-command.
        """
        sub_command = None if skip_sub_command else self.stdout_sub_command
        out, path = self._get_out_and_path(
            self.stdout, self.stdout_root, sub_command, os_path)
        if hasattr(out, 'stdin'):
            return out.stdin
        return out
def get_stdout(self, os_path=None, skip_sub_command=False):
        """
        Returns a stdout-suitable file-like object based on the
        optional os_path and optionally skipping any configured
        sub-command.
        """
        sub_command = None if skip_sub_command else self.stdout_sub_command
        out, path = self._get_out_and_path(
            self.stdout, self.stdout_root, sub_command, os_path)
        if hasattr(out, 'stdin'):
            return out.stdin
        return out
def get_stdout ( self , os_path = None , skip_sub_command = False ) : sub_command = None if skip_sub_command else self . stdout_sub_command out , path = self . _get_out_and_path ( self . stdout , self . stdout_root , sub_command , os_path ) if hasattr ( out , 'stdin' ) : return out . stdin return out
Returns a stdout-suitable file-like object based on the
        optional os_path and optionally skipping any configured
        sub-command.
Returns a stdout - suitable file - like object based on the optional os_path and optionally skipping any configured sub - command .