From 8a65f4d8166d946a6a10fd4c869eb1b005d24879 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sat, 22 Dec 2007 23:41:27 +0000 Subject: Checkpoint svn path=/scripts/rpki/left_right.py; revision=1425 --- scripts/rpki/resource_set.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/rpki/resource_set.py') diff --git a/scripts/rpki/resource_set.py b/scripts/rpki/resource_set.py index baf68d82..2ea15643 100644 --- a/scripts/rpki/resource_set.py +++ b/scripts/rpki/resource_set.py @@ -428,7 +428,10 @@ class resource_bag(object): return not self.as and not self.v4 and not self.v6 def __eq__(self, other): - return self.as == other.as and self.v4 == other.v4 and self.v6 == other.v6 + return self.as == other.as and \ + self.v4 == other.v4 and \ + self.v6 == other.v6 and \ + self.valid_until == other.valid_until def __ne__(self, other): return not (self == other) -- cgit v1.2.3