Graphics/PackageDiagramBuilder.py

changeset 3035
36e9f388958b
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3071
83d066710d60
diff -r 7ce719013078 -r 36e9f388958b Graphics/PackageDiagramBuilder.py
--- a/Graphics/PackageDiagramBuilder.py	Sat Oct 19 13:03:39 2013 +0200
+++ b/Graphics/PackageDiagramBuilder.py	Sat Oct 19 14:05:26 2013 +0200
@@ -205,7 +205,7 @@
             ct.setHtml(
                 self.trUtf8(
                     "The package <b>'{0}'</b> does not contain any modules.")
-                    .format(self.package))
+                .format(self.package))
             return
             
         # step 1: build all classes found in the modules
@@ -221,7 +221,7 @@
             ct.setHtml(
                 self.trUtf8(
                     "The package <b>'{0}'</b> does not contain any classes.")
-                    .format(self.package))
+                .format(self.package))
             return
         
         # step 2: build the class hierarchies
@@ -244,7 +244,7 @@
                     if cw and not (cw.external and
                                    (className in module.classes or
                                     className in module.modules)
-                                  ):
+                                   ):
                         if className not in nodes:
                             nodes.append(className)
                     else:
@@ -423,10 +423,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