Skip to content

Commit f709d49

Browse files
committed
Merged lines
1 parent dcda6c6 commit f709d49

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

remove-json-keys/remove-json-keys.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: remove-json-keys.py
3-
Version: 2026.2.10.12
3+
Version: 2026.2.10.13
44
Author: Adam Lui
55
Description: Remove key/value pairs from json_dir/**.json
66
Homepage: https://github.com/adamlui/python-utils
@@ -9,8 +9,7 @@
99
Notes: Use --help to print CLI arguments.
1010
'''
1111

12-
import argparse
13-
import os, re
12+
import argparse, os, re
1413
from types import SimpleNamespace as sns
1514

1615
cli = sns(

translate-messages/translate-en-messages.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''
22
Name: translate-en-messages.py
3-
Version: 2026.2.10.18
3+
Version: 2026.2.10.19
44
Author: Adam Lui
55
Description: Translate en/messages.json to other locales
66
Homepage: https://github.com/adamlui/python-utils
@@ -9,11 +9,10 @@
99
Notes: Use --help to print CLI arguments.
1010
'''
1111

12-
import argparse
13-
import os, json
12+
import argparse, os, json
13+
from types import SimpleNamespace as sns
1414
from sys import stdout
1515
from translate import Translator
16-
from types import SimpleNamespace as sns
1716
from urllib.request import urlopen
1817

1918
cli = sns(

0 commit comments

Comments
 (0)