E5Graphics/E5ArrowItem.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
diff -r 139f182b72f6 -r 8b507a9a2d40 E5Graphics/E5ArrowItem.py
--- a/E5Graphics/E5ArrowItem.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/E5Graphics/E5ArrowItem.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a graphics item subclass for an arrow.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import math
 
 from PyQt4.QtCore import QPointF, QRectF, QSizeF, QLineF, Qt
@@ -33,7 +35,7 @@
         @param type arrow type (NormalArrow, WideArrow)
         @keyparam parent reference to the parent object (QGraphicsItem)
         """
-        super().__init__(parent)
+        super(E5ArrowItem, self).__init__(parent)
         
         self._origin = origin
         self._end = end

eric ide

mercurial