mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue