Re: [Zeitgeist] [Bug 489186] [NEW] GetHighestTimestampForActor is superfluous

2009-11-27 Thread Siegfried Gevatter
2009/11/27 Mikkel Kamstrup Erlandsen : > It can be simply done fully client side by using FindEventIds like > so: Yes, there is even a comment in the source code saying this. I added it as a convenience method for C applications (where getting it isn't as easy as from Python), but I'm OK with remo

[Zeitgeist] [Bug 489186] [NEW] GetHighestTimestampForActor is superfluous

2009-11-27 Thread Mikkel Kamstrup Erlandsen
Public bug reported: The method GetHighestTimestampForActor is superfluous as far as I can tell. It can be simply done fully client side by using FindEventIds like so: template = Event.new_for_values(actor="gedit") ids = FindEventIds(TimeRange.until_now(), [template], StorageState.Any, 1, Result