BIND 10 trac929, updated. 211f6c58e8cd6311eaca0a2ba181c4bfb379476c [trac929] changed into the exact way of checking whether the value is "None" or not in the "if" branch as pointed out in the reviewing.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Jul 26 09:05:46 UTC 2011
The branch, trac929 has been updated
via 211f6c58e8cd6311eaca0a2ba181c4bfb379476c (commit)
from 5d337b755cd45d7b0caa5364115fe17874a9bcb0 (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 211f6c58e8cd6311eaca0a2ba181c4bfb379476c
Author: Naoki Kambe <kambe at jprs.co.jp>
Date: Tue Jul 26 18:04:43 2011 +0900
[trac929] changed into the exact way of checking whether the value is "None" or
not in the "if" branch as pointed out in the reviewing.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/config/module_spec.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/config/module_spec.py b/src/lib/python/isc/config/module_spec.py
index aa8484b..1d51f98 100644
--- a/src/lib/python/isc/config/module_spec.py
+++ b/src/lib/python/isc/config/module_spec.py
@@ -130,7 +130,7 @@ class ModuleSpec:
non-default values). Also it checks 'item_format' in case
of time"""
stat_spec = self.get_statistics_spec()
- if stat_spec:
+ if stat_spec != None:
return _validate_spec_list(stat_spec, full, stat, errors)
else:
# no spec, always bad
More information about the bind10-changes
mailing list