def _tget(self, key): value = super(RoutePrefs, self).get(key) if value is None: return None if not self.translated: return value tvalue = key_string(self.translated, key) if tvalue is not None: return tvalue return value
def _get(self, key, default=None): return key_string(self.store, self._dotted_key(key), default)