mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Add warning about misbehavior
This commit is contained in:
parent
4d3f02b618
commit
00c856eca0
1 changed files with 4 additions and 0 deletions
|
|
@ -159,6 +159,10 @@ def join_collection(items, wrappers=_default_join_wrappers):
|
||||||
if wrapper_type is not None:
|
if wrapper_type is not None:
|
||||||
lines = chain(*(
|
lines = chain(*(
|
||||||
[u'BEGIN:{}'.format(wrapper_type)],
|
[u'BEGIN:{}'.format(wrapper_type)],
|
||||||
|
# XXX: wrapper_props is a list of lines (with line-wrapping), so
|
||||||
|
# filtering out duplicate lines will almost certainly break
|
||||||
|
# multiline-values. Since the only props we usually need to
|
||||||
|
# support are PRODID and VERSION, I don't care.
|
||||||
uniq(wrapper_props),
|
uniq(wrapper_props),
|
||||||
lines,
|
lines,
|
||||||
[u'END:{}'.format(wrapper_type)]
|
[u'END:{}'.format(wrapper_type)]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue