[Libreoffice-commits] core.git: bin/find-german-comments

Michael Meeks michael.meeks at collabora.com
Thu Jan 15 10:02:04 PST 2015


 bin/find-german-comments |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 1ca36341be2af47f2e063dfebafdca8bd34d2433
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Jan 15 17:43:42 2015 +0000

    Better document gotcha in find-german-comments.
    
    Change-Id: I9e6e15cc5a5597586b4a913e0cc75cf337ddfc05

diff --git a/bin/find-german-comments b/bin/find-german-comments
index 27a7018..76ebe0d 100755
--- a/bin/find-german-comments
+++ b/bin/find-german-comments
@@ -265,7 +265,7 @@ class Parser:
             "extensions" : 1,
             "external" : 1,
             "filter" : 1,
-            "forms" : 0, #
+            "forms" : 1,
             "formula" : 1,
             "fpicker" : 1,
             "framework" : 1,
@@ -318,7 +318,7 @@ class Parser:
             "stoc" : 0, #
             "store" : 1,
             "svgio" : 1,
-            "svl" : 0, #
+            "svl" : 1,
             "svtools" : 1,
             "svx" : 0, #
             "sw" : 0, #
@@ -348,6 +348,9 @@ class Parser:
             "xmlscript" : 1,
         }
 
+        if not directory is '.':
+            sys.stderr.write("Warning: pass an absolute path to the top-level in order to use the faster white-list search\n")
+
         for path in lines:
             baseDir = self.first_elem(path)
 


More information about the Libreoffice-commits mailing list