[Checkins] SVN: Products.ZCatalog/trunk/src/Products/PluginIndexes/PathIndex/PathIndex.py Style
Hanno Schlichting
hannosch at hannosch.eu
Wed May 4 04:37:16 EDT 2011
Log message for revision 121539:
Style
Changed:
U Products.ZCatalog/trunk/src/Products/PluginIndexes/PathIndex/PathIndex.py
-=-
Modified: Products.ZCatalog/trunk/src/Products/PluginIndexes/PathIndex/PathIndex.py
===================================================================
--- Products.ZCatalog/trunk/src/Products/PluginIndexes/PathIndex/PathIndex.py 2011-05-04 08:36:44 UTC (rev 121538)
+++ Products.ZCatalog/trunk/src/Products/PluginIndexes/PathIndex/PathIndex.py 2011-05-04 08:37:16 UTC (rev 121539)
@@ -108,7 +108,7 @@
return 0
if isinstance(path, (list, tuple)):
- path = '/'+ '/'.join(path[1:])
+ path = '/' + '/'.join(path[1:])
comps = filter(None, path.split('/'))
@@ -132,14 +132,12 @@
% docid)
return
- comps = self._unindex[docid].split('/')
+ comps = self._unindex[docid].split('/')
for level in range(len(comps[1:])):
comp = comps[level+1]
-
try:
self._index[comp][level].remove(docid)
-
if not self._index[comp][level]:
del self._index[comp][level]
More information about the checkins
mailing list