Graphics/UMLClassDiagramBuilder.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3035
36e9f388958b
child 3145
a9de05d4a22f
--- a/Graphics/UMLClassDiagramBuilder.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Graphics/UMLClassDiagramBuilder.py	Sun Nov 03 15:58:22 2013 +0100
@@ -107,10 +107,9 @@
                             self.allModules[self.file].append(className)
                 if cw and cw.noAttrs != self.noAttrs:
                     cw = None
-                if cw and not (cw.external and \
+                if cw and not (cw.external and
                                (className in module.classes or
-                                className in module.modules)
-                              ):
+                                className in module.modules)):
                     if cw.scene() != self.scene:
                         self.scene.addItem(cw)
                         cw.setPos(10, 10)
@@ -279,10 +278,10 @@
         for route in routes:
             if len(route) > 1:
                 assoc = AssociationItem(
-                        self.__getCurrentShape(route[1]),
-                        self.__getCurrentShape(route[0]),
-                        Generalisation,
-                        topToBottom=True)
+                    self.__getCurrentShape(route[1]),
+                    self.__getCurrentShape(route[0]),
+                    Generalisation,
+                    topToBottom=True)
                 self.scene.addItem(assoc)
     
     def getPersistenceData(self):

eric ide

mercurial