Пример #1
0
 def _delitem_nosync(self, item):
     path = self._item_path(item)
     if contains_array(self._store, path) or \
             contains_group(self._store, path):
         rmdir(self._store, path)
     else:
         raise KeyError(item)
Пример #2
0
 def _delitem_nosync(self, item):
     path = self._item_path(item)
     if contains_array(self._store, path) or \
             contains_group(self._store, path):
         rmdir(self._store, path)
     else:
         raise KeyError(item)