Merge "Correct the class equivalent judgement error"

This commit is contained in:
Jenkins 2017-05-08 01:44:32 +00:00 committed by Gerrit Code Review
commit a13ba93777
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ class HOTemplate20161014(HOTemplate20160408):
self._parser_condition_functions = {}
for n, f in six.iteritems(self.functions):
if not isinstance(f, hot_funcs.Removed):
if not f == hot_funcs.Removed:
self._parser_condition_functions[n] = function.Invalid
else:
self._parser_condition_functions[n] = f