def __getattr__(self, attr):
    """Return back entries from the dictionary."""
    if attr in self._dict_object:
      return self._dict_object.get(attr)

    # Special case of getting all the key/value pairs.
    if attr == '__all__':
      ret = []
      for key, value in self._dict_translated.items():
        ret.append('{}:{}'.format(key, value))
      return ' '.join(ret)

    test = self._StripKey(attr)
    if test in self._dict_translated:
      return self._dict_translated.get(test)

    return None
def __getattr__ ( self , attr ) : if attr in self . _dict_object : return self . _dict_object . get ( attr ) if attr == '__all__' : ret = [ ] for key , value in self . _dict_translated . items ( ) : ret . append ( '{}:{}' . format ( key , value ) ) return ' ' . join ( ret ) test = self . _StripKey ( attr ) if test in self . _dict_translated : return self . _dict_translated . get ( test ) return None
Return back entries from the dictionary.