示例#1
0
文件: file.py 项目: dbaty/Petrel
 def __init__(self):
     BaseContent.__init__(self)
     self.blob = Blob()
示例#2
0
文件: document.py 项目: dbaty/Petrel
 def get_searchable_text(self):
     ## FIXME: we should remove HTML tags from 'body', remove stop
     ## words, etc.
     return u' '.join((
             BaseContent.get_searchable_text(self), self.body))
示例#3
0
文件: folder.py 项目: dbaty/Petrel
 def __init__(self, *args, **kwargs):
     BaseContent.__init__(self)
     BaseFolder.__init__(self, *args, **kwargs)