[Chandler-dev] Re: [commits] (mimi) [10151] It's all blobbled
together.
Katie Capps Parlante
capps at osafoundation.org
Tue Apr 4 20:54:47 PDT 2006
Hamma-sta, did you get pair-manager sign off for these changes?
Cheers,
Katie
Mimi Yin wrote:
> *You're* a coll.getCollectionIndex()
>
> Seriously though, do I just do a global find and replace and recommit?
>
> Hamma-sta
>
> On Apr 4, 2006, at 4:59 PM, Alec Flett wrote:
>
>> Mimi -
>>
>> commits at osafoundation.org wrote:
>>>
>>>
>>> Modified:
>>> trunk/chandler/parcels/osaf/pim/calendar/Calendar.py (10150
>>> => 10151)
>>>
>>> --- trunk/chandler/parcels/osaf/pim/calendar/Calendar.py 2006-04-04 23:45:59 UTC (rev 10150)
>>> +++ trunk/chandler/parcels/osaf/pim/calendar/Calendar.py 2006-04-04 23:49:09 UTC (rev 10151)
>>> @@ -72,6 +72,10 @@
>>> else:
>>> return event.getMaster()
>>>
>>> +def ensureIndexed(coll):
>>> + if not coll.hasIndex('__adhoc__'):
>>> + coll.addIndex('__adhoc__', 'numeric')
>>> +
>>> def getKeysInRange(view, startVal, startAttrName, startIndex, startColl,
>>> endVal, endAttrName, endIndex, endColl,
>>> filterColl = None, filterIndex = None):
>> I think you can actually call coll.getCollectionIndex() here once,
>> rather than manually creating the numeric index
>>
>> Alec
>>
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>>
>> Open Source Applications Foundation "chandler-dev" mailing list
>> http://lists.osafoundation.org/mailman/listinfo/chandler-dev
>
>
> ------------------------------------------------------------------------
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev
More information about the chandler-dev
mailing list