Graphics/ImportsDiagramBuilder.py

changeset 3035
36e9f388958b
parent 3022
57179e4cdadd
child 3060
5883ce99ee12
child 3071
83d066710d60
--- a/Graphics/ImportsDiagramBuilder.py	Sat Oct 19 13:03:39 2013 +0200
+++ b/Graphics/ImportsDiagramBuilder.py	Sat Oct 19 14:05:26 2013 +0200
@@ -76,11 +76,11 @@
         """
         import Utilities.ModuleParser
         extensions = Preferences.getPython("PythonExtensions") + \
-                     Preferences.getPython("Python3Extensions")
+            Preferences.getPython("Python3Extensions")
         moduleDict = {}
         modules = []
         for ext in Preferences.getPython("PythonExtensions") + \
-                    Preferences.getPython("Python3Extensions"):
+                Preferences.getPython("Python3Extensions"):
             modules.extend(glob.glob(Utilities.normjoinpath(
                 self.packagePath, '*{0}'.format(ext))))
         
@@ -121,7 +121,7 @@
             ct.setHtml(
                 self.trUtf8(
                     "The directory <b>'{0}'</b> is not a Python package.")
-                    .format(self.package))
+                .format(self.package))
             self.scene.addItem(ct)
             return
         
@@ -247,8 +247,8 @@
         for module in list(shapes.keys()):
             for rel in shapes[module][1]:
                 assoc = AssociationItem(
-                        shapes[module][0], shapes[rel][0],
-                        Imports)
+                    shapes[module][0], shapes[rel][0],
+                    Imports)
                 self.scene.addItem(assoc)
     
     def getPersistenceData(self):

eric ide

mercurial