BIND 10 trac2252, updated. 30c5683babdc96906117dfd677c3313d3a82fea9 [2252] explicitly check if something is None, not just eval it as boolean.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Mar 26 22:34:31 UTC 2013
The branch, trac2252 has been updated
via 30c5683babdc96906117dfd677c3313d3a82fea9 (commit)
from acbf4d8c9e3deb825a7c193a26738b12ef870166 (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 30c5683babdc96906117dfd677c3313d3a82fea9
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Tue Mar 26 15:34:03 2013 -0700
[2252] explicitly check if something is None, not just eval it as boolean.
-----------------------------------------------------------------------
Summary of changes:
src/bin/xfrin/tests/xfrin_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/xfrin/tests/xfrin_test.py b/src/bin/xfrin/tests/xfrin_test.py
index fd41fed..ce0b4d4 100644
--- a/src/bin/xfrin/tests/xfrin_test.py
+++ b/src/bin/xfrin/tests/xfrin_test.py
@@ -1076,7 +1076,7 @@ class TestAXFR(TestXfrinConnection):
c = MockXfrinConnection({}, TEST_ZONE_NAME, RRClass.CH, None,
threading.Event(), info)
c.init_socket()
- if ver:
+ if ver is not None:
self.assertEqual(ver, c._get_ipver_str())
else:
self.assertRaises(ValueError, c._get_ipver_str)
More information about the bind10-changes
mailing list