-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
30 lines (27 loc) · 997 Bytes
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -*- coding: utf-8 -*-
#
# Open Embedded Under Control - the Continuous Integration and Controlling platform for OpenEmbedded Projects
# OEUC error-log - a framework for logging and presentation of errors and warnings
#
# Copyright (C) 2012 DResearch Fahrzeugelektronik GmbH
# Written and maintained by Erik Bernoth <[email protected]>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
TYPE_NOTE = "NOTE"
TYPE_WARNING = "WARNING"
TYPE_ERROR = "ERROR"
TYPE_IGNORED = "IGNORED"
TYPE_WARN_COUNT = "WARN_COUNT"
TYPE_ERROR_COUNT = "ERR_COUNT"
DEFAULT_RECIPE = "NO_REC"
DEFAULT_CMD = "NO_CMD"
DEFAULT_SIG_ATTEMPT = 123
DEFAULT_SIG_CATEGORY = "NO_CAT"
DEFAULT_SIG_FILE = "NO_FILE"
DEFAULT_SIG_ROW = -1
DEFAULT_SIG_COL = -1
STATE_PARSER_START = {'recipe': DEFAULT_RECIPE, 'cmd' : DEFAULT_CMD}