Salome HOME
[PY3] 2to3 -w -n results
[modules/yacs.git] / src / pyqt / gui / Tree.py
index 439a081dad04e17cb3b8a9484b7d3230c8a779af..ff0fc50f98207ea6b7ba578cfefdc3dd35dcbfd1 100644 (file)
@@ -26,8 +26,8 @@
 
 import sys
 from qt import *
-import Icons
-import CONNECTOR
+from . import Icons
+from . import CONNECTOR
 
 class Tree(QListView):
   """Tree(parent=None)
@@ -156,7 +156,7 @@ class Node(QListViewItem):
        
 
 if __name__ == "__main__":
-  from Item import Item
+  from .Item import Item
   app = QApplication(sys.argv)
   t=Tree()
   t.additem(Item("item1"))