make it a little more readable.
bzr revid: p_christ@hol.gr-
20100812110838-vmjlnnwopn0pr0j1
exdates = []
for cal_data in child.getChildren():
if cal_data.name.lower() == 'organizer':
- self.ical_set(cal_data.name.lower(), cal_data.params.get('CN') and cal_data.params.get('CN')[0], 'value')
+ self.ical_set(cal_data.name.lower(),
+ {'name': cal_data.params.get('CN', ['',])[0]},
+ 'value')
continue
if cal_data.name.lower() == 'attendee':
ctx = context.copy()