Edgewall Software

Changeset 8197


Ignore:
Timestamp:
May 11, 2009, 9:48:05 AM (14 years ago)
Author:
Christian Boos
Message:

0.12dev: backout r8196 - this change triggered LazyProxy instances to be used in contexts where they shouldn't have been.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/trac/util/translation.py

    r8196 r8197  
    122122            locale_dir = pkg_resources.resource_filename(__name__, '../locale')
    123123            t = Translations.load(locale_dir, locale)
    124             if t.__class__ is NullTranslations:
    125                 return
    126124            if env_path:
    127125                self._plugin_domains_lock.acquire()
     
    135133         
    136134        def deactivate(self):
    137             if self.isactive:
    138                 del self._current.translations
     135            del self._current.translations
    139136   
    140137        @property
Note: See TracChangeset for help on using the changeset viewer.