# HG changeset patch # User Paul Boddie # Date 1431875783 -7200 # Node ID 171fa53430a7230b323dd3d87303025279e2c6b4 # Parent 3bd8fc4435f8ba45ed679a27db7c4944936c4abe Updated start and end datetime accesses. diff -r 3bd8fc4435f8 -r 171fa53430a7 imiptools/period.py --- a/imiptools/period.py Sun May 17 01:40:24 2015 +0200 +++ b/imiptools/period.py Sun May 17 17:16:23 2015 +0200 @@ -90,7 +90,7 @@ def __cmp__(self, other): if isinstance(other, FreeBusyPeriod): - return cmp((self.start, self.end, self.uid), (other.start, other.end, other.uid)) + return cmp((self.get_start(), self.get_end(), self.uid), (other.get_start(), other.get_end(), other.uid)) else: return Period.__cmp__(self, other)