Return iCal object of the Remind commands in lines

def stdin_to_vobject(self, lines):
        """Return iCal object of the Remind commands in lines"""
        cal = iCalendar()
        for event in self._parse_remind('-', lines)['-'].values():
            self._gen_vevent(event, cal.add('vevent'))
        return cal