bug 458260 - Exclude bookmarks from compare-locales (for now), r=Callek
authorRobert Kaiser <kairo@kairo.at>
Thu, 02 Oct 2008 22:19:13 +0200
changeset 485 b23500b3399c20f0d6d26648f6debdf172035e67
parent 484 525ea0a20b19b8302a9d49da4e919fb282e2b452
child 486 1da06fe7ba020ffd51fa2510ee05562bc0c172c5
push idunknown
push userunknown
push dateunknown
reviewersCallek
bugs458260
bug 458260 - Exclude bookmarks from compare-locales (for now), r=Callek
suite/locales/filter.py
--- a/suite/locales/filter.py
+++ b/suite/locales/filter.py
@@ -1,11 +1,11 @@
 def test(mod, path, entity = None):
   import re
-  # ignore anyhting but SeaMonkey
+  # ignore anything but SeaMonkey
   if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                  "extensions/reporter", "editor/ui",
                  "suite"):
     return False
   # ignore temporary files, hiden files and files from rejects
   if (re.match(r".*?\/[.#].+", path) or
       re.match(r".*~$", path) or
       re.match(r".+\.(orig|rej)", path)):
@@ -15,10 +15,13 @@ def test(mod, path, entity = None):
     return True
   if entity is None:
     # missing and obsolete files
     return not (re.match(r"searchplugins\/.+\.src", path) or
                 re.match(r"searchplugins\/.+\.png", path) or
                 re.match(r"chrome\/common\/help\/images\/[A-Za-z-_]+\.[a-z]+", path))
   if path == "defines.inc":
     return entity != "MOZ_LANGPACK_CONTRIBUTORS"
+  if path == "profile/bookmarks.html":
+    # for now, ignore default bookmarks
+    return False
   
   return True