Helpviewer/WebPlugins/WebPluginFactory.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
--- a/Helpviewer/WebPlugins/WebPluginFactory.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Helpviewer/WebPlugins/WebPluginFactory.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the web plug-in factory.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtWebKit import QWebPluginFactory
 
 
@@ -20,7 +22,7 @@
         
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(WebPluginFactory, self).__init__(parent)
         
         self.__loaded = False
     
@@ -65,7 +67,7 @@
         Public method to refresh the list of supported plug-ins.
         """
         self.__initialize()
-        super().refreshPlugins()
+        super(WebPluginFactory, self).refreshPlugins()
     
     def __initialize(self):
         """

eric ide

mercurial