Exemplo n.º 1
0
 def __init__(self, stdout, stderr):
     """
     Set stdout and stderr
     """
     self.stdout = stdout
     self.stderr = stderr
     self.result = Result()
Exemplo n.º 2
0
 def __init__(self, stdout, stderr):
     """
     Set stdout and stderr
     """
     self.stdout = stdout
     self.stderr = stderr
     self.result = Result()
Exemplo n.º 3
0
class BaseParser(object):
    """
    Base class for all parsers
    """
    stdout = None
    stderr = None
    result = None

    def __init__(self, stdout, stderr):
        """
        Set stdout and stderr
        """
        self.stdout = stdout
        self.stderr = stderr
        self.result = Result()

    def get_result(self):
        """
        Get result
        """
        return self.result.get_result()
Exemplo n.º 4
0
class BaseParser(object):
    """
    Base class for all parsers
    """
    stdout = None
    stderr = None
    result = None

    def __init__(self, stdout, stderr):
        """
        Set stdout and stderr
        """
        self.stdout = stdout
        self.stderr = stderr
        self.result = Result()

    def get_result(self):
        """
        Get result
        """
        return self.result.get_result()