pylint/pyreverse/diadefslib.py
def visit_project(self, node):
        """visit a pyreverse.utils.Project node

        create a diagram definition for packages
        """
        mode = self.config.mode
        if len(node.modules) > 1:
            self.pkgdiagram = PackageDiagram("packages %s" % node.name, mode)
        else:
            self.pkgdiagram = None
        self.classdiagram = ClassDiagram("classes %s" % node.name, mode)
def visit_project(self, node):
        """visit a pyreverse.utils.Project node

        create a diagram definition for packages
        """
        mode = self.config.mode
        if len(node.modules) > 1:
            self.pkgdiagram = PackageDiagram("packages %s" % node.name, mode)
        else:
            self.pkgdiagram = None
        self.classdiagram = ClassDiagram("classes %s" % node.name, mode)
def visit_project ( self , node ) : mode = self . config . mode if len ( node . modules ) > 1 : self . pkgdiagram = PackageDiagram ( "packages %s" % node . name , mode ) else : self . pkgdiagram = None self . classdiagram = ClassDiagram ( "classes %s" % node . name , mode )
visit a pyreverse.utils.Project node

        create a diagram definition for packages
visit a pyreverse . utils . Project node