src/pyams_thesaurus/thesaurus.py
changeset 30 1731fb6afaaf
parent 23 9885b9c88b2e
child 32 d3f76ee1af66
equal deleted inserted replaced
29:01a2ab1f4bd8 30:1731fb6afaaf
   312             return extracts[name]
   312             return extracts[name]
   313         else:
   313         else:
   314             return extracts
   314             return extracts
   315 
   315 
   316 
   316 
   317 @implementer(IThesaurusExtract)
   317 @implementer(IThesaurusExtract, IDefaultProtectionPolicy)
   318 class ThesaurusExtract(Persistent, Contained):
   318 class ThesaurusExtract(Persistent, Contained):
   319     """Thesaurus extract"""
   319     """Thesaurus extract"""
   320 
   320 
   321     __roles__ = ('thesaurus.ExtractManager', )
   321     __roles__ = ('thesaurus.ExtractManager', )
   322     roles_interface = IThesaurusExtractRoles
   322     roles_interface = IThesaurusExtractRoles