(item)
| 119 | |
| 120 | |
| 121 | def _strip_timezones(item): |
| 122 | parsed = item.parsed |
| 123 | if not parsed or parsed.name != 'VCALENDAR': |
| 124 | return item |
| 125 | |
| 126 | parsed.subcomponents = [c for c in parsed.subcomponents |
| 127 | if c.name != 'VTIMEZONE'] |
| 128 | |
| 129 | return Item('\r\n'.join(parsed.dump_lines())) |
| 130 | |
| 131 | |
| 132 | def hash_item(text): |
no test coverage detected