Also issue warnings if setattr is used in a class instead of an error

This commit is contained in:
Dave Halter
2014-06-26 13:40:15 +02:00
parent 4238538df4
commit 1c9058ce6b
3 changed files with 38 additions and 2 deletions
-1
View File
@@ -115,7 +115,6 @@ class NameFinder(object):
if result:
break
self._last_filter_name_scope = name_list_scope
scope_txt = (self.scope if self.scope == name_list_scope
else '%s-%s' % (self.scope, name_list_scope))
debug.dbg('finder.filter_name "%s" in (%s): %s@%s', self.name_str,