Cooperation/CooperationServer.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Cooperation/CooperationServer.py
--- a/Cooperation/CooperationServer.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Cooperation/CooperationServer.py	Fri Mar 11 16:51:57 2011 +0100
@@ -14,6 +14,7 @@
 
 import Preferences
 
+
 class CooperationServer(QTcpServer):
     """
     Class implementing the cooperation server.
@@ -23,7 +24,7 @@
     """
     newConnection = pyqtSignal(Connection)
     
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -41,7 +42,7 @@
         connection.setSocketDescriptor(socketDescriptor)
         self.newConnection.emit(connection)
     
-    def startListening(self, port = -1):
+    def startListening(self, port=-1):
         """
         Public method to start listening for new connections.
         

eric ide

mercurial