def get_command_from_line(self, line):
    '\n        This function is used for getting command and line number from conf file.\n        :param line: line\n        :return: returns command name and line\n        '
    cmd = ''
    line_no = 0
    for member in line:
        if ('line_no' in member):
            line_no = member[1]
            continue
        if isinstance(member, str):
            cmd += (' %s' % member)
        else:
            cmd += (' -%s' % ' '.join(member))
    return (cmd, line_no)
This function is used for getting command and line number from conf file.
:param line: line
:return: returns command name and line
def get_command_from_line(self, line):
    '\n        This function is used for getting command and line number from conf file.\n        :param line: line\n        :return: returns command name and line\n        '
    cmd = 
    line_no = 0
    for member in line:
        if ('line_no' in member):
            line_no = member[1]
            continue
        if isinstance(member, str):
            cmd += (' %s' % member)
        else:
            cmd += (' -%s' % ' '.join(member))
    return (cmd, line_no)