# HG changeset patch # User Paul Boddie # Date 1418688249 -3600 # Node ID f07cd72fbecebbfd264954a9ec52f188a3661747 # Parent 419ce1511df64975c2f1143bffc29163b97ac751 Only compare object sequences when both objects provide them. diff -r 419ce1511df6 -r f07cd72fbece imiptools/content.py --- a/imiptools/content.py Sun Dec 14 15:24:32 2014 +0100 +++ b/imiptools/content.py Tue Dec 16 01:04:09 2014 +0100 @@ -488,7 +488,7 @@ old_dtstamp = self.dtstamp < dtstamp - if sequence is not None and ( + if sequence is not None and self.sequence is not None ( int(self.sequence) < int(sequence) or int(self.sequence) == int(sequence) and old_dtstamp ) or old_dtstamp: