Message7496
On Tue, May 03, 2022 at 02:45:45PM +0000, John Rouillard wrote:
> >This subtracts 5 directory components from the filename on Linux and
> >then appends /share/locale
>
> and appends it blindly. Shouldn't there be a check to see if _mo_path
> exists and is a directory?
I don't think this is a problem. When the directories are used to find
locales later on, each attempt that doesn't find a locale adds a None
object to the variable 'mofiles'.
This variable is later filtered and removes all the None objects.
So I'm fine with the current behaviour.
Ralf
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: www.runtux.com
Reichergasse 131, A-3411 Weidling email: office@runtux.com |
|
Date |
User |
Action |
Args |
2022-05-03 15:01:26 | schlatterbeck | set | recipients:
+ schlatterbeck, rouilj, marcus.priesch |
2022-05-03 15:01:26 | schlatterbeck | link | issue2551200 messages |
2022-05-03 15:01:26 | schlatterbeck | create | |
|