BIND 10 trac1371, updated. 15e23bca2cf7f266d32c6bb30a142a80ee543227 [1371] update comments (now as docstring) for rrsets_equal() to make them more sense.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Nov 21 23:00:14 UTC 2011
The branch, trac1371 has been updated
via 15e23bca2cf7f266d32c6bb30a142a80ee543227 (commit)
from ddb6d109c0947f203eaa6265a22d2fb3b166db0b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 15e23bca2cf7f266d32c6bb30a142a80ee543227
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Nov 21 14:55:16 2011 -0800
[1371] update comments (now as docstring) for rrsets_equal() to make them
more sense.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/testutils/rrset_utils.py | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/testutils/rrset_utils.py b/src/lib/python/isc/testutils/rrset_utils.py
index 3696db9..e8532f7 100644
--- a/src/lib/python/isc/testutils/rrset_utils.py
+++ b/src/lib/python/isc/testutils/rrset_utils.py
@@ -18,12 +18,14 @@
from isc.dns import *
def rrsets_equal(a, b):
- '''Compare two RRsets, return True if equal, otherwise False'''
+ '''Compare two RRsets, return True if equal, otherwise False
- # no accessor for sigs either (so this only checks name, class, type, ttl,
- # and rdata)
- # also, because of the fake data in rrsigs, if the type is rrsig, the
- # rdata is not checked
+ We provide this function as part of test utils we have no direct rrset
+ comparison atm. There's no accessor for sigs either (so this only checks
+ name, class, type, ttl, and rdata).
+ Also, since we often use fake data in RRSIGs, RRSIG RDATA are not checked.
+
+ '''
return a.get_name() == b.get_name() and \
a.get_class() == b.get_class() and \
a.get_type() == b.get_type() and \
More information about the bind10-changes
mailing list