mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Another style fix
This commit is contained in:
parent
e4ae04aaa1
commit
b9bf6f2e9e
1 changed files with 8 additions and 2 deletions
|
|
@ -181,15 +181,21 @@ def to_unicode_lines(item):
|
|||
yield icalendar.parser.foldline(content_line)
|
||||
|
||||
|
||||
def join_collection(items, wrappers={
|
||||
_default_join_wrappers = {
|
||||
u'VCALENDAR': (u'VCALENDAR', (u'VTIMEZONE',)),
|
||||
u'VCARD': (u'VADDRESSBOOK', ())
|
||||
}):
|
||||
}
|
||||
|
||||
|
||||
def join_collection(items, wrappers=None):
|
||||
'''
|
||||
:param wrappers: {
|
||||
item_type: wrapper_type, items_to_inline
|
||||
}
|
||||
'''
|
||||
if wrappers is None:
|
||||
wrappers = _default_join_wrappers
|
||||
|
||||
inline = {}
|
||||
components = []
|
||||
wrapper_type = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue