mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Strip method:publish, fix #502
This commit is contained in:
parent
968b416cc5
commit
38599e1666
2 changed files with 7 additions and 0 deletions
|
|
@ -9,6 +9,11 @@ Package maintainers and users who have to manually update their installation
|
|||
may want to subscribe to `GitHub's tag feed
|
||||
<https://github.com/pimutils/vdirsyncer/tags.atom>`_.
|
||||
|
||||
Version 0.16.0
|
||||
==============
|
||||
|
||||
- Strip ``METHOD:PUBLISH`` added by some calendar providers.
|
||||
|
||||
Version 0.15.0
|
||||
==============
|
||||
|
||||
|
|
|
|||
|
|
@ -162,6 +162,8 @@ def _split_collection_impl(item, main, inline, items, ungrouped_items):
|
|||
|
||||
wrapper.subcomponents.append(item)
|
||||
elif item.name in (u'VCALENDAR', u'VADDRESSBOOK'):
|
||||
if item.name == 'VCALENDAR':
|
||||
del item['METHOD']
|
||||
for subitem in item.subcomponents:
|
||||
_split_collection_impl(subitem, item, inline, items,
|
||||
ungrouped_items)
|
||||
|
|
|
|||
Loading…
Reference in a new issue