Logo Search packages:      
Sourcecode: radicale version File versions  Download package

def radicale::ical::Calendar::headers (   self )
Find headers items in calendar.

Definition at line 241 of file ical.py.

                     :
        """Find headers items in calendar."""
        header_lines = []

        lines = self.text.splitlines()
        for line in lines:
            if line.startswith("PRODID:"):
                header_lines.append(Header(line))
        for line in lines:
            if line.startswith("VERSION:"):
                header_lines.append(Header(line))

        return header_lines


Generated by  Doxygen 1.6.0   Back to index