Helpviewer/OpenSearch/OpenSearchEngineAction.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
--- a/Helpviewer/OpenSearch/OpenSearchEngineAction.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/OpenSearch/OpenSearchEngineAction.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a QAction subclass for open search.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import QUrl
 from PyQt4.QtGui import QPixmap, QIcon, QAction
 
@@ -22,7 +24,7 @@
         @param engine reference to the open search engine object (OpenSearchEngine)
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(OpenSearchEngineAction, self).__init__(parent)
         
         self.__engine = engine
         if self.__engine.networkAccessManager() is None:

eric ide

mercurial