MCPcopy
hub / github.com/pimutils/vdirsyncer / dump_lines

Method dump_lines

vdirsyncer/vobject.py:301–306  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

299 return rv[0]
300
301 def dump_lines(self):
302 yield 'BEGIN:{}'.format(self.name)
303 yield from self.props
304 for c in self.subcomponents:
305 yield from c.dump_lines()
306 yield 'END:{}'.format(self.name)
307
308 def __delitem__(self, key):
309 prefix = ('{}:'.format(key), '{};'.format(key))

Callers 8

with_uidMethod · 0.80
_strip_timezonesFunction · 0.80
split_collectionFunction · 0.80
join_collectionFunction · 0.80
serializeMethod · 0.80
add_propMethod · 0.80
add_componentMethod · 0.80
sanity_checkMethod · 0.80

Calls

no outgoing calls

Tested by 4

serializeMethod · 0.64
add_propMethod · 0.64
add_componentMethod · 0.64
sanity_checkMethod · 0.64