esc-reporting/esc-analyze.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit bd5992e381753f11164c38cdac70970e98b09f52
Author: jan Iversen <j...@documentfoundation.org>
Date:   Tue Jan 31 13:11:39 2017 +0100

    esc-mentoring, update to match change in aliases.
    
    The new aliases can contain # lines for comment
    skipping these lines.

diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 2921beb..dd58527 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -74,6 +74,8 @@ def util_load_csv(fileName, split):
         line = line[:-1]
         if len(line) == 0:
           continue
+        if line[0] == '#':
+          continue
         x = line.split(split)
         if split == ';' and len(x) != 3:
           raise Exception('misformed entry ' + line + ' in filename ' + 
fileName)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to