-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][FIX] don't use deprecated locale.getdefaultlocale()
#163
Conversation
@simahawk @gurneyalex would you like to have a look at this little one? While looking at this I noticed this |
locale.getdefaultlocale()
AFAIK, get_server_environment is called only by the model
So I'm in favor to move all that part ( What do you think ? Note : this code didn't changed since the creation (version 6.1 : https://github.com/OCA/server-tools/blob/6.1/server_environment/system_info.py) |
This PR has the |
/ocabot merge patch |
On my way to merge this fine PR! |
Congratulations, your PR was merged at e2f48c0. Thanks a lot for contributing to OCA. ❤️ |
locale.getdefaultlocale()
is deprecated in python 3.11. Usegetlocale()
instead.