Graphics/ImportsDiagramBuilder.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3035
36e9f388958b
child 3080
6c0a430b19df
--- a/Graphics/ImportsDiagramBuilder.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Graphics/ImportsDiagramBuilder.py	Sun Nov 03 15:58:22 2013 +0100
@@ -78,11 +78,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))))
         
@@ -123,7 +123,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
         
@@ -249,8 +249,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