diff scripts/logformat.py @ 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 4473f1094d3d
children 0a277465fddf
line wrap: on
line diff