[master/rhel7 2/2] Highlight languages in langsupport that contain selected locales (#1072355)
Vratislav Podzimek
vpodzime at redhat.com
Thu Jul 31 13:10:24 UTC 2014
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
More information about the anaconda-patches
mailing list