diff options
author | Rob Austein <sra@hactrn.net> | 2009-09-11 18:04:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-09-11 18:04:51 +0000 |
commit | c7c46cd247ce4af34ad0de7a6586a2c858d800b9 (patch) | |
tree | 29e435c6f017487632ecc20e5aa803912520545f /rpkid/rpki/resource_set.py | |
parent | e97c9b25332fc4a8a441f2970b4acb8122875250 (diff) |
Cleanup
svn path=/rpkid/irdbd.py; revision=2749
Diffstat (limited to 'rpkid/rpki/resource_set.py')
-rw-r--r-- | rpkid/rpki/resource_set.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/resource_set.py b/rpkid/rpki/resource_set.py index 632d175e..ce6be33d 100644 --- a/rpkid/rpki/resource_set.py +++ b/rpkid/rpki/resource_set.py @@ -262,7 +262,7 @@ class resource_set(list): sets. """ assert not self.inherit - assert type(self) is type(other), "Type mismatch %s %s" % (repr(type(self)), repr(type(other))) + assert type(self) is type(other), "Type mismatch %r %r" % (type(self), type(other)) set1 = self[:] set2 = other[:] only1, only2, both = [], [], [] @@ -290,7 +290,7 @@ class resource_set(list): Set union for resource sets. """ assert not self.inherit - assert type(self) is type(other), "Type mismatch: %s %s" % (repr(type(self)), repr(type(other))) + assert type(self) is type(other), "Type mismatch: %r %r" % (type(self), type(other)) set1 = self[:] set2 = other[:] result = [] |