# Path: simple_monitor_alert/exceptions.py
# class InvalidScriptLineError(InvalidScriptLineBase, SyntaxError):
#     pass


import re
import string
import sys
import six
from simple_monitor_alert.exceptions import InvalidScriptLineError
    def __repr__(self):
        return self.__str__()

    def __eq__(self, other):
        return self.key == other.key and self.value == other.value


class ItemLine(KeyValueLine):
    def __init__(self, key, value):
        super(ItemLine, self).__init__(key, value)

    def __str__(self):
        return '{} = {}'.format(self.key, self.value)


class HeaderLine(KeyValueLine):
    def __init__(self, key, value):
        super(HeaderLine, self).__init__(key, value)

    def __str__(self):
        return '{}: {}'.format(self.key, self.value)


class RawLine(object):
    pattern = None

    def __init__(self, line, monitor):
        self.line, self.monitor = line, monitor
        match = self.pattern.match(self.line)
        if match is None:

# Path: simple_monitor_alert/exceptions.py
# class InvalidScriptLineError(InvalidScriptLineBase, SyntaxError):
#     pass


# Path: simple_monitor_alert/lines.py
import re
import string
import sys
import six
from simple_monitor_alert.exceptions import InvalidScriptLineError

    def __repr__(self):
        return self.__str__()

    def __eq__(self, other):
        return self.key == other.key and self.value == other.value


class ItemLine(KeyValueLine):
    def __init__(self, key, value):
        super(ItemLine, self).__init__(key, value)

    def __str__(self):
        return '{} = {}'.format(self.key, self.value)


class HeaderLine(KeyValueLine):
    def __init__(self, key, value):
        super(HeaderLine, self).__init__(key, value)

    def __str__(self):
        return '{}: {}'.format(self.key, self.value)


class RawLine(object):
    pattern = None

    def __init__(self, line, monitor):
        self.line, self.monitor = line, monitor
        match = self.pattern.match(self.line)
        if match is None:

            raise InvalidScriptLineError(line, monitor.script_path)