Roundup Tracker - Issues

Message7496

Author schlatterbeck
Recipients marcus.priesch, rouilj, schlatterbeck
Date 2022-05-03.15:01:26
Message-id <20220503150124.owutpyzcrvzzib3a@runtux.com>
In-reply-to <20220503144545.274B16A0289@pe15.cs.umb.edu>
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
History
Date User Action Args
2022-05-03 15:01:26schlatterbecksetrecipients: + schlatterbeck, rouilj, marcus.priesch
2022-05-03 15:01:26schlatterbecklinkissue2551200 messages
2022-05-03 15:01:26schlatterbeckcreate