mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-06 10:55:52 +00:00
stylefix
This commit is contained in:
parent
00c856eca0
commit
598d3600cd
2 changed files with 3 additions and 3 deletions
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
from textwrap import dedent
|
||||
|
||||
import pytest
|
||||
|
||||
import vdirsyncer.utils.vobject as vobject
|
||||
|
||||
from .. import BARE_EVENT_TEMPLATE, EVENT_TEMPLATE, VCARD_TEMPLATE, \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
import hashlib
|
||||
from itertools import chain, tee
|
||||
|
||||
from . import cached_property, split_sequence, uniq
|
||||
from . import cached_property, uniq
|
||||
from .compat import text_type
|
||||
|
||||
|
||||
|
|
@ -104,6 +104,7 @@ def split_collection(text):
|
|||
assert isinstance(text, text_type)
|
||||
inline = []
|
||||
items = []
|
||||
|
||||
def inner(item, main):
|
||||
if item.name == u'VTIMEZONE':
|
||||
inline.append(item)
|
||||
|
|
@ -134,6 +135,7 @@ _default_join_wrappers = {
|
|||
u'VCARD': u'VADDRESSBOOK'
|
||||
}
|
||||
|
||||
|
||||
def join_collection(items, wrappers=_default_join_wrappers):
|
||||
'''
|
||||
:param wrappers: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue