cldr2json: Don't use deprecated method
Replace the deprecated 'warn()' with 'warning()' to shut up a runtime warning. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1136
This commit is contained in:
parent
f3ba1e65ba
commit
dd7727e315
@ -161,7 +161,7 @@ def convert_file(source_file, destination_path):
|
||||
try:
|
||||
xkb_name = locale_to_xkb(root["locale"], root["name"])
|
||||
except KeyError as e:
|
||||
logging.warn(e)
|
||||
logging.warning(e)
|
||||
return False
|
||||
destination_file = os.path.join(destination_path, xkb_name + ".json")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user