Fixed a few issues introduced by the lazy import changes.

Mon, 25 Feb 2013 18:32:53 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 25 Feb 2013 18:32:53 +0100
changeset 2433
f580320cd0aa
parent 2432
b1a2f9054b28
child 2434
c148e2b8188d

Fixed a few issues introduced by the lazy import changes.

Graphics/PackageDiagramBuilder.py file | annotate | diff | comparison | revisions
--- 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