Add a missing translation.
TrivialFix
Change-Id: I2a87704ea12800c377659d59b2ad623fcaf0c802
def __call__(self, target_self, *args, **kwargs):
if not hasattr(target_self, '_cache'):
raise NotImplementedError(
- "Instance of class %(module)s.%(class)s must contain _cache "
- "attribute" % {
+ _("Instance of class %(module)s.%(class)s must contain _cache "
+ "attribute") % {
'module': target_self.__module__,
'class': target_self.__class__.__name__})
if not target_self._cache: