------------------------------------------------------------------------ r11783 | jomae | 2013-04-18 16:28:32 +0200 (Thu, 18 Apr 2013) | 4 lines 1.0.2dev: fixed failures with Babel 1.0dev when compiled catalog is missing for current locale, introduced in babel:r651 Closed #10903. Index: trac/util/translation.py =================================================================== --- trac/util/translation.py (revision 11782) +++ trac/util/translation.py (revision 11783) @@ -146,7 +146,7 @@ self._activate_failed = True return t = Translations.load(locale_dir, locale or 'en_US') - if not t or t.__class__ is NullTranslations: + if not isinstance(t, Translations): t = self._null_translations else: t.add(Translations.load(locale_dir, locale or 'en_US', ------------------------------------------------------------------------