# HG changeset patch # User Paul Boddie # Date 1416953535 -3600 # Node ID e142d652b0e0eb18758c5e351cdf0618d71d2bad # Parent d6346960ab826e5c5c845ab36042e7aca649d0d7 Permit an absence of free/busy entries. diff -r d6346960ab82 -r e142d652b0e0 imiptools/handlers/person.py --- a/imiptools/handlers/person.py Tue Nov 25 22:08:44 2014 +0100 +++ b/imiptools/handlers/person.py Tue Nov 25 23:12:15 2014 +0100 @@ -81,7 +81,8 @@ "Record free/busy information for the received information." freebusy = [] - for value in self.get_values("FREEBUSY"): + + for value in self.get_values("FREEBUSY") or []: if not isinstance(value, list): value = [value] for v in value: