aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2006-10-31 13:52:10 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2006-10-31 13:52:10 +0000
commit18fbc3bebe823b3d1b79e042dda4521782dec44d (patch)
treecd035b3fe9be95899697e06acc06a71cc1126a39
parent29fb68e4a59dd18bb84e2bed46949f245f9b0327 (diff)
downloadmgarepo-18fbc3bebe823b3d1b79e042dda4521782dec44d.tar
mgarepo-18fbc3bebe823b3d1b79e042dda4521782dec44d.tar.gz
mgarepo-18fbc3bebe823b3d1b79e042dda4521782dec44d.tar.bz2
mgarepo-18fbc3bebe823b3d1b79e042dda4521782dec44d.tar.xz
mgarepo-18fbc3bebe823b3d1b79e042dda4521782dec44d.zip
- added small lstrip to handle log messages beginning with spaces
-rw-r--r--RepSys/log.py1
1 files changed, 1 insertions, 0 deletions
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: