[Erp5-report] r17065 - /erp5/trunk/products/ERP5/Document/ExtFolder.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sun Oct 21 00:07:42 CEST 2007


Author: yo
Date: Sun Oct 21 00:07:41 2007
New Revision: 17065

URL: http://svn.erp5.org?rev=17065&view=rev
Log:
use shutil.rmtree instead of removeAll.

Modified:
    erp5/trunk/products/ERP5/Document/ExtFolder.py

Modified: erp5/trunk/products/ERP5/Document/ExtFolder.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/ExtFolder.py?rev=17065&r1=17064&r2=17065&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/ExtFolder.py (original)
+++ erp5/trunk/products/ERP5/Document/ExtFolder.py Sun Oct 21 00:07:41 2007
@@ -37,7 +37,7 @@
 from Globals import package_home
 from Products.ERP5 import product_path
 from Shared.DC.ZRDB.TM import TM
-from Products.ERP5.Document.BusinessTemplate import removeAll
+import shutil
 
 from zLOG import LOG
 
@@ -51,7 +51,7 @@
   def _finish(self):
     try:
       LOG('Deletion', 0, 'removing %s' % self.path)
-      removeAll(self.path)
+      shutil.rmtree(self.path)
     except OSError:
       pass
 




More information about the Erp5-report mailing list