2014-11-25 | Paul Boddie | raw files shortlog changelog graph | Permit an absence of free/busy entries. | |
imiptools/handlers/person.py (file) |
1.1 --- a/imiptools/handlers/person.py Tue Nov 25 22:08:44 2014 +0100 1.2 +++ b/imiptools/handlers/person.py Tue Nov 25 23:12:15 2014 +0100 1.3 @@ -81,7 +81,8 @@ 1.4 "Record free/busy information for the received information." 1.5 1.6 freebusy = [] 1.7 - for value in self.get_values("FREEBUSY"): 1.8 + 1.9 + for value in self.get_values("FREEBUSY") or []: 1.10 if not isinstance(value, list): 1.11 value = [value] 1.12 for v in value: