[Libreoffice-commits] dev-tools.git: esc-reporting/esc-analyze.py

jan Iversen jani at documentfoundation.org
Tue Jan 31 12:12:42 UTC 2017


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

New commits:
commit bd5992e381753f11164c38cdac70970e98b09f52
Author: jan Iversen <jani at 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)


More information about the Libreoffice-commits mailing list