Helpviewer/Network/NetworkProtocolUnknownErrorReply.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/Helpviewer/Network/NetworkProtocolUnknownErrorReply.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Helpviewer/Network/NetworkProtocolUnknownErrorReply.py	Fri Mar 11 16:51:57 2011 +0100
@@ -10,11 +10,12 @@
 from PyQt4.QtCore import *
 from PyQt4.QtNetwork import QNetworkReply
 
+
 class NetworkProtocolUnknownErrorReply(QNetworkReply):
     """
     Class implementing a QNetworkReply subclass reporting an unknown protocol error.
     """
-    def __init__(self, protocol, parent = None):
+    def __init__(self, protocol, parent=None):
         """
         Constructor
         
@@ -22,7 +23,7 @@
         @param parent reference to the parent object (QObject)
         """
         QNetworkReply.__init__(self, parent)
-        self.setError(QNetworkReply.ProtocolUnknownError, 
+        self.setError(QNetworkReply.ProtocolUnknownError,
                       self.trUtf8("Protocol '{0}' not supported.").format(protocol))
         QTimer.singleShot(0, self.__fireSignals)
     

eric ide

mercurial