def to_vobjects(self, filename, uids=None):
        """Return iCal objects and etags of all Remind entries in uids

        filename -- the remind file
        uids -- the UIDs of the Remind lines (all if None)
        """
        self._update()

        if not uids:
            uids = self._reminders[filename]

        items = []

        for uid in uids:
            cal = iCalendar()
            self._gen_vevent(self._reminders[filename][uid], cal.add('vevent'))
            etag = md5()
            etag.update(self._reminders[filename][uid]['line'].encode("utf-8"))
            items.append((uid, cal, '"%s"' % etag.hexdigest()))
        return items
def to_vobjects ( self , filename , uids = None ) : self . _update ( ) if not uids : uids = self . _reminders [ filename ] items = [ ] for uid in uids : cal = iCalendar ( ) self . _gen_vevent ( self . _reminders [ filename ] [ uid ] , cal . add ( 'vevent' ) ) etag = md5 ( ) etag . update ( self . _reminders [ filename ] [ uid ] [ 'line' ] . encode ( "utf-8" ) ) items . append ( ( uid , cal , '"%s"' % etag . hexdigest ( ) ) ) return items
Return iCal objects and etags of all Remind entries in uids

        filename -- the remind file
        uids -- the UIDs of the Remind lines (all if None)