Logo Search packages:      
Sourcecode: zope-managableindex version File versions  Download package

def ManagableIndex::PathIndex::PathIndex::_normalize (   self,
  value,
  object 
) [private]

convert into a tuple.

Definition at line 40 of file PathIndex.py.

00040                                      :
    '''convert into a tuple.'''
    value = PathIndex.inheritedAttribute('_normalize')(self, value, object)
    if value is None: return
    if hasattr(value, 'upper'):
      value = value.split('/')
      if not value[-1]: del value[-1]
    return tuple(value)

  # basic methods
  def _indexValue(self, docId, val, threshold):


Generated by  Doxygen 1.6.0   Back to index