def visit_Call(self, node):
    if self._check_call_names(node, ['str']):
        if (node not in self.already_checked):
            self.already_checked.append(node)
            if isinstance(node.args[0], ast.Name):
                if (node.args[0].id in self.name):
                    self.add_error(node.args[0])
    super(CheckForStrExc, self).generic_visit(node)
def visit_Call(self, node):
    if self._check_call_names(node, ['str']):
        if (node not in self.already_checked):
            self.already_checked.append(node)
            if isinstance(node.args[0], ast.Name):
                if (node.args[0].id in self.name):
                    self.add_error(node.args[0])
    super(CheckForStrExc, self).generic_visit(node)