Helpviewer/OpenSearch/OpenSearchEngineModel.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/Helpviewer/OpenSearch/OpenSearchEngineModel.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/OpenSearch/OpenSearchEngineModel.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a model for search engines.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import re
 
 from PyQt4.QtCore import Qt, QUrl, QAbstractTableModel, QModelIndex
@@ -24,7 +26,7 @@
         @param manager reference to the search engine manager (OpenSearchManager)
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(OpenSearchEngineModel, self).__init__(parent)
         
         self.__manager = manager
         manager.changed.connect(self.__enginesChanged)
@@ -191,4 +193,4 @@
         """
         Private slot handling a change of the registered engines.
         """
-        super().reset()
+        super(OpenSearchEngineModel, self).reset()

eric ide

mercurial