diff --git a/python-base.changes b/python-base.changes index 86845a5..af473a8 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 6 19:01:46 UTC 2013 - jmatejek@suse.com + +- gettext: fix cases where no bundle is found (bnc#794139) + ------------------------------------------------------------------- Thu Oct 25 11:21:06 UTC 2012 - coolo@suse.com diff --git a/python-bundle-lang.patch b/python-bundle-lang.patch index f92f8fa..e31463a 100644 --- a/python-bundle-lang.patch +++ b/python-bundle-lang.patch @@ -16,7 +16,7 @@ Index: Python-2.7.3/Lib/gettext.py def find(domain, localedir=None, languages=None, all=0): + if localedir in [None, _default_localedir]: + bundle = find(domain, localedir=_default_bundlelocaledir, languages=languages, all=all) -+ if len(bundle): ++ if bundle: + return bundle # Get some reasonable defaults for arguments that were not supplied if localedir is None: