Network/IRC/IrcNetworkManager.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/Network/IRC/IrcNetworkManager.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Network/IRC/IrcNetworkManager.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the IRC data structures and their manager.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 import copy
 
 from PyQt4.QtCore import pyqtSignal, QObject, QCoreApplication
@@ -34,7 +36,7 @@
         
         @param name name of the identity (string)
         """
-        super().__init__()
+        super(IrcIdentity, self).__init__()
         
         self.__name = name
         self.__realName = ""
@@ -283,7 +285,7 @@
         
         @param name name of the server (string)
         """
-        super().__init__()
+        super(IrcServer, self).__init__()
         
         self.__server = name
         self.__port = IrcServer.DefaultPort
@@ -387,7 +389,7 @@
         
         @param name name of the network (string)
         """
-        super().__init__()
+        super(IrcChannel, self).__init__()
         
         self.__name = name
         self.__key = ""
@@ -465,7 +467,7 @@
         
         @param name name of the network (string)
         """
-        super().__init__()
+        super(IrcNetwork, self).__init__()
         
         self.__name = name
         self.__identity = ""
@@ -713,7 +715,7 @@
         
         @param parent reference to the parent object (QObject)
         """
-        super().__init__(parent)
+        super(IrcNetworkManager, self).__init__(parent)
         
         self.__loaded = False
         self.__saveTimer = AutoSaver(self, self.save)

eric ide

mercurial