Graphics/PackageDiagramBuilder.py

changeset 2433
f580320cd0aa
parent 2402
304fcefd3b04
child 2525
8b507a9a2d40
child 2953
703452a2876f
--- a/Graphics/PackageDiagramBuilder.py	Sun Feb 24 20:00:51 2013 +0100
+++ b/Graphics/PackageDiagramBuilder.py	Mon Feb 25 18:32:53 2013 +0100
@@ -67,6 +67,7 @@
         @return dictionary of modules contained in the package.
         """
         import Utilities.ModuleParser
+        
         supportedExt = \
             ['*{0}'.format(ext) for ext in Preferences.getPython("PythonExtensions")] + \
             ['*{0}'.format(ext) for ext in Preferences.getPython("Python3Extensions")] + \
@@ -111,6 +112,8 @@
         
         @return dictionary of sub-packages contained in this package
         """
+        import Utilities.ModuleParser
+        
         supportedExt = \
             ['*{0}'.format(ext) for ext in Preferences.getPython("PythonExtensions")] + \
             ['*{0}'.format(ext) for ext in Preferences.getPython("Python3Extensions")] + \
@@ -139,7 +142,6 @@
             progress.show()
             QApplication.processEvents()
             
-            import Utilities.ModuleParser
             for subpackage in subpackagesList:
                 packageName = os.path.basename(subpackage)
                 subpackagesDict[packageName] = []

eric ide

mercurial