فهرست منبع

Merge pull request #211 from vuntz/delete-multifilesystem

Remove props file when deleting a collection with multifilesystem
Guillaume Ayoub 11 سال پیش
والد
کامیت
1c4c41ad0e
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      radicale/storage/multifilesystem.py

+ 1 - 0
radicale/storage/multifilesystem.py

@@ -60,6 +60,7 @@ class Collection(filesystem.Collection):
 
     def delete(self):
         shutil.rmtree(self._path)
+        os.remove(self._props_path)
 
     def remove(self, name):
         if os.path.exists(os.path.join(self._path, name)):