[Erp5-report] r12135 - /erp5/trunk/products/ERP5/ERP5Site.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 18 16:54:05 CET 2007


Author: vincent
Date: Thu Jan 18 16:54:04 2007
New Revision: 12135

URL: http://svn.erp5.org?rev=12135&view=rev
Log:
The test was syntaxicaly wrong, and had never been executed until just now by Seb. Good catch :) .

Modified:
    erp5/trunk/products/ERP5/ERP5Site.py

Modified: erp5/trunk/products/ERP5/ERP5Site.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ERP5Site.py?rev=12135&r1=12134&r2=12135&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/ERP5Site.py (original)
+++ erp5/trunk/products/ERP5/ERP5Site.py Thu Jan 18 16:54:04 2007
@@ -111,7 +111,7 @@
     #LOG('getCatalogStorageList', 0, item)
     if item == '.svn':
       continue
-    if item.endswith('.bt5') and os.path.isfile():
+    if item.endswith('.bt5') and os.path.isfile(item):
       # Simple heuristic to make it faster than extracting the whole bt
       if item.endswith('_catalog.bt5'):
         result.append((item, item))




More information about the Erp5-report mailing list