Commit 76c91943 authored by Vincent Pelletier's avatar Vincent Pelletier

The test was syntaxicaly wrong, and had never been executed until just now by Seb. Good catch :) .


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12135 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 65ecd343
......@@ -111,7 +111,7 @@ def getCatalogStorageList(*args, **kw):
#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))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment