Graphics/PackageItem.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/Graphics/PackageItem.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Graphics/PackageItem.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a package item.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtGui import QFont, QGraphicsSimpleTextItem, QStyle
 
 from .UMLItem import UMLModel, UMLItem
@@ -25,7 +27,7 @@
         @param name package name (string)
         @param moduleslist list of module names (list of strings)
         """
-        super().__init__(name)
+        super(PackageModel, self).__init__(name)
         
         self.moduleslist = moduleslist
     

eric ide

mercurial