Logo Search packages:      
Sourcecode: zope-cps-translationservice version File versions  Download package

def TranslationService::Domain::Domain::noTranslation (   self,
  mapping = None,
  default = None,

Return the correct value when there is no translation.

Definition at line 64 of file Domain.py.

00064                                                              :
        """Return the correct value when there is no translation."""
        if default is None:
            # In Zope 2.6, we have to return None to use the default
            return None
            # In Zope 2.7, we cannot return None but we have the default
            return self._interpolate(default, mapping)

    # IDomain API

Generated by  Doxygen 1.6.0   Back to index