# HG changeset patch # User Paul Boddie # Date 1432226890 -7200 # Node ID 455ed923ca03ef60d2986f362664c5fee299df29 # Parent ecb4ce872c01f36092f9dbec3326f1f78339919e Employed a more descriptive method name for special organiser transparency definition in free/busy summaries. diff -r ecb4ce872c01 -r 455ed923ca03 imiptools/handlers/__init__.py --- a/imiptools/handlers/__init__.py Thu May 21 16:32:20 2015 +0200 +++ b/imiptools/handlers/__init__.py Thu May 21 18:48:10 2015 +0200 @@ -199,14 +199,14 @@ if self.is_participating(attr, for_organiser): self.update_freebusy(freebusy, periods, - transp=self.get_transparency(attr, for_organiser)) + transp=self.get_overriding_transparency(attr, for_organiser)) else: self.remove_from_freebusy(freebusy) def is_participating(self, attr, as_organiser=False): return as_organiser or not attr or attr.get("PARTSTAT") != "DECLINED" - def get_transparency(self, attr, as_organiser=False): + def get_overriding_transparency(self, attr, as_organiser=False): return as_organiser and not (attr and attr.get("PARTSTAT")) and "ORG" or None # Convenience methods for updating stored free/busy information.