'Remove a temporary path we created.'

def _remove_tmp_path(self, tmp_path):

    if self._should_remove_tmp_path(tmp_path):
        cmd = self._connection._shell.remove(tmp_path, recurse=True)
        tmp_rm_res = self._low_level_execute_command(cmd, sudoable=False)
        tmp_rm_data = self._parse_returned_data(tmp_rm_res)
        if (tmp_rm_data.get('rc', 0) != 0):
            display.warning(('Error    deleting    remote    temporary    files    (rc:    %s,    stderr:    %s})' % (tmp_rm_res.get('rc'), tmp_rm_res.get('stderr', 'No    error    string    available.'))))
