comparison docs/contributing.rst @ 7786:0f33c1da2fd5

kallithea-cli: set ssh_locale when creating .ini file so it doesn't have to be set manually before using ssh The Python standard library does not seem to provide a simple way to determine the current locale without calling locale.setlocale() and thus potentially influencing the rest of the program. Instead, try to determine the locale based on environment variables present when 'kallithea-cli config-create' is run, and use it to prepopulate the ini file.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Mon, 01 Jul 2019 10:05:00 +0200
parents ab30729c735c
children d9e37f7fd35b
comparison
equal deleted inserted replaced
7785:b5b91e854308 7786:0f33c1da2fd5