示例#1
0
文件: bucket.py 项目: jab/melkman
 def __init__(self, *args, **kw):
     if not args and not 'id' in kw:
         args = [melk_id(nonce_str())]
     
     DocumentHelper.__init__(self, *args, **kw)
     self._entries = None # lazy load
     self._removed = {}
     self._updated = {}
示例#2
0
文件: bucket.py 项目: jab/melkman
 def reload(self):
     DocumentHelper.reload(self)
     self._updated = {}
     self._removed = {}
     self._entries = None