[gnome-shell/wip/fmuellner/pardon-my-french: 12/77] Generate all json files for the android directory in a go
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/pardon-my-french: 12/77] Generate all json files for the android directory in a go
- Date: Mon, 4 Mar 2019 17:25:47 +0000 (UTC)
commit 8560cb92e25a359dd0579f517d1bdd0b41b4a2b4
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 13 21:29:02 2017 +0000
Generate all json files for the android directory in a go
cldr2json.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/cldr2json.py b/cldr2json.py
index 0d4fcc6d5..b380ff21d 100755
--- a/cldr2json.py
+++ b/cldr2json.py
@@ -204,6 +204,5 @@ if __name__ == "__main__":
if os.path.isfile(source):
convert_file(source, destination)
elif os.path.isdir(source):
- os.chdir(source)
- for path in glob.glob("*-t-k0-android.xml"):
+ for path in glob.glob(source + "/*-t-k0-android.xml"):
convert_file(path, destination)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]