Graphics/PackageDiagramBuilder.py

changeset 2402
304fcefd3b04
parent 2401
4f428de32b69
child 2433
f580320cd0aa
--- a/Graphics/PackageDiagramBuilder.py	Sun Feb 10 15:17:59 2013 +0100
+++ b/Graphics/PackageDiagramBuilder.py	Sun Feb 10 15:26:21 2013 +0100
@@ -66,6 +66,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")] + \
@@ -85,7 +86,6 @@
             progress.show()
             QApplication.processEvents()
             
-            import Utilities.ModuleParser
             for module in modules:
                 progress.setValue(prog)
                 QApplication.processEvents()

eric ide

mercurial