On Thu, 2014-07-31 at 08:23 -0400, David Shea wrote:
On 07/31/2014 05:02 AM, Vratislav Podzimek wrote:
>> + def _is_lang_selected(self, lang):
>> >+ lang_locales = set(localization.get_language_locales(lang))
>> >+ return not lang_locales.isdisjoint(self._selected_locales)
> Very nice/neat/clever two lines of code!
It's your code. I just moved it to a separate function ;-)
Ahhh, that explains
a lot :D
--
Vratislav Podzimek
Anaconda Rider | RHCE | Red Hat, Inc. | Brno - Czech Republic