nice refactoring

This commit is contained in:
Miroslav Stampar
2010-10-20 09:46:57 +00:00
parent 5d3cbec457
commit e24bff0497
3 changed files with 13 additions and 9 deletions

View File

@@ -34,10 +34,10 @@ LOGGER.addHandler(LOGGER_HANDLER)
LOGGER.setLevel(logging.WARN)
# error based injection
ERROR_SPACE = "%c%c%c" % (58, 95, 58)
ERROR_EMPTY_CHAR = "%c%c%c" % (58, 120, 58)
ERROR_START_CHAR = "%c%c%c" % (58, 115, 58)
ERROR_END_CHAR = "%c%c%c" % (58, 101, 58)
ERROR_SPACE = ":_:"
ERROR_EMPTY_CHAR = ":x:"
ERROR_START_CHAR = ":s:"
ERROR_END_CHAR = ":e:"
# System variables
IS_WIN = subprocess.mswindows