[libreoffice-dictionaries] 16/16: helper.py: gd files have been moved to the language root, drop special casing

Mattia Rizzolo mattia at debian.org
Sun Oct 15 18:16:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository libreoffice-dictionaries.

commit 85a6942867baf4b08d96e88fad9f345333c3993d
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Oct 15 20:14:26 2017 +0200

    helper.py: gd files have been moved to the language root, drop special casing
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/helper.py | 2 +-
 debian/list.json | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/helper.py b/debian/helper.py
index 99c51cc..eb8b834 100755
--- a/debian/helper.py
+++ b/debian/helper.py
@@ -269,7 +269,7 @@ def generate_json():
                     os.path.isdir(basepath + '/' + item + '/' + i):
                 lslang += os.listdir(basepath + '/' + item + '/' + i)
         for i in lslang:
-            if itemd['code'] in ['ca', 'gd']:
+            if itemd['code'] == 'ca':
                 filename = 'dictionaries/' + i
             else:
                 filename = i
diff --git a/debian/list.json b/debian/list.json
index 0332c05..fb564f0 100644
--- a/debian/list.json
+++ b/debian/list.json
@@ -295,8 +295,8 @@
         "639-1": "gd_GB",
         "code": "gd",
         "hunspell": [
-            "dictionaries/gd_GB.aff",
-            "dictionaries/gd_GB.dic"
+            "gd_GB.aff",
+            "gd_GB.dic"
         ],
         "name": "Scottish Gaelic"
     },

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/libreoffice-dictionaries.git



More information about the Pkg-openoffice-commits mailing list