Graphics/UMLClassDiagramBuilder.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2402
304fcefd3b04
child 2602
affc66a603c7
--- a/Graphics/UMLClassDiagramBuilder.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Graphics/UMLClassDiagramBuilder.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a dialog showing a UML like class diagram.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import itertools
 
 from PyQt4.QtGui import QGraphicsTextItem
@@ -31,7 +33,7 @@
         @param file file name of a python module to be shown (string)
         @keyparam noAttrs flag indicating, that no attributes should be shown (boolean)
         """
-        super().__init__(dialog, view, project)
+        super(UMLClassDiagramBuilder, self).__init__(dialog, view, project)
         self.setObjectName("UMLClassDiagramBuilder")
         
         self.file = file

eric ide

mercurial