--- a/Graphics/UMLDialog.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Graphics/UMLDialog.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,8 @@ Module implementing a dialog showing UML like diagrams. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + from PyQt4.QtCore import Qt, QFileInfo from PyQt4.QtGui import QAction, QToolBar, QGraphicsScene @@ -42,7 +44,7 @@ @keyparam initBuilder flag indicating to initialize the diagram builder (boolean) @param kwargs diagram specific data """ - super().__init__(parent) + super(UMLDialog, self).__init__(parent) self.setObjectName("UMLDialog") self.__diagramType = diagramType @@ -139,7 +141,7 @@ """ if not fromFile and self.builder: self.builder.buildDiagram() - super().show() + super(UMLDialog, self).show() def __relayout(self): """