Mon, 25 Feb 2013 18:32:53 +0100
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] = []