diff -r 139f182b72f6 -r 8b507a9a2d40 Graphics/ClassItem.py --- a/Graphics/ClassItem.py Sun Mar 24 13:52:12 2013 +0100 +++ b/Graphics/ClassItem.py Mon Mar 25 03:11:06 2013 +0100 @@ -7,6 +7,8 @@ Module implementing an UML like class item. """ +from __future__ import unicode_literals # __IGNORE_WARNING__ + from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle from .UMLItem import UMLModel, UMLItem @@ -28,7 +30,7 @@ @param attributes list of attribute names of the class (list of strings) """ - super().__init__(name) + super(ClassModel, self).__init__(name) self.methods = methods self.attributes = attributes