From 18fbc3bebe823b3d1b79e042dda4521782dec44d Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Tue, 31 Oct 2006 13:52:10 +0000 Subject: - added small lstrip to handle log messages beginning with spaces --- RepSys/log.py | 1 + 1 file changed, 1 insertion(+) diff --git a/RepSys/log.py b/RepSys/log.py index cf913f8..5c29876 100644 --- a/RepSys/log.py +++ b/RepSys/log.py @@ -104,6 +104,7 @@ def format_lines(lines): entrylines = [] perexpr = re.compile(r"([^%])%([^%])") for line in lines: + line = line.lstrip() if line: line = perexpr.sub("\\1%%\\2", line) if first: -- cgit v1.2.1