Author: jmorliaguet
Date: Sun Apr  9 21:52:11 2006
New Revision: 2801

Modified:
   cpsskins/branches/jmo-perspectives/storage/storage.py
Log:

- added a method to purge storages



Modified: cpsskins/branches/jmo-perspectives/storage/storage.py
==============================================================================
--- cpsskins/branches/jmo-perspectives/storage/storage.py       (original)
+++ cpsskins/branches/jmo-perspectives/storage/storage.py       Sun Apr  9 
21:52:11 2006
@@ -73,3 +73,6 @@
         notify(ObjectAddedEvent(copy))
 
         return self[new_name]
+
+    def purge(self):
+        self.remove(list(self))
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to