Graphics/ApplicationDiagram.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/Graphics/ApplicationDiagram.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Graphics/ApplicationDiagram.py	Sat Jan 02 15:11:35 2010 +0000
@@ -13,10 +13,10 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from UMLDialog import UMLDialog
-from PackageItem import PackageItem, PackageModel
-from AssociationItem import AssociationItem, Imports
-import GraphicsUtilities
+from .UMLDialog import UMLDialog
+from .PackageItem import PackageItem, PackageModel
+from .AssociationItem import AssociationItem, Imports
+from . import GraphicsUtilities
 
 import Utilities.ModuleParser
 import Utilities
@@ -130,7 +130,7 @@
                         n = "%s.%s" % (project, i)
                         if n in modules:
                             impLst.append(n)
-            for i in modules[module].from_imports.keys():
+            for i in list(modules[module].from_imports.keys()):
                 if i.startswith('.'):
                     dots = len(i) - len(i.lstrip('.'))
                     if dots == 1:

eric ide

mercurial