Commit e487e63b authored by Likun Zhang's avatar Likun Zhang
Browse files

Fixed a minor error in code(Reviewed by Jelte).

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2013 e5f2f494-b856-4b98-b285-d166d9295462
parent 6e3c1596
......@@ -80,7 +80,8 @@ class ModuleSpec:
return _validate_spec_list(data_def, full, data, errors)
else:
# no spec, always bad
errors.append("No config_data specification")
if errors != None:
errors.append("No config_data specification")
return False
def validate_command(self, cmd_name, cmd_params, errors = None):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment