Helpviewer/Network/NetworkProtocolUnknownErrorReply.py

changeset 3002
6ffc581f00f1
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
--- a/Helpviewer/Network/NetworkProtocolUnknownErrorReply.py	Wed Oct 09 19:47:41 2013 +0200
+++ b/Helpviewer/Network/NetworkProtocolUnknownErrorReply.py	Thu Oct 10 18:35:45 2013 +0200
@@ -4,7 +4,8 @@
 #
 
 """
-Module implementing a QNetworkReply subclass reporting an unknown protocol error.
+Module implementing a QNetworkReply subclass reporting an unknown protocol
+error.
 """
 
 from PyQt4.QtCore import QTimer
@@ -13,7 +14,8 @@
 
 class NetworkProtocolUnknownErrorReply(QNetworkReply):
     """
-    Class implementing a QNetworkReply subclass reporting an unknown protocol error.
+    Class implementing a QNetworkReply subclass reporting an unknown protocol
+    error.
     """
     def __init__(self, protocol, parent=None):
         """
@@ -23,8 +25,9 @@
         @param parent reference to the parent object (QObject)
         """
         super().__init__(parent)
-        self.setError(QNetworkReply.ProtocolUnknownError,
-                      self.trUtf8("Protocol '{0}' not supported.").format(protocol))
+        self.setError(
+            QNetworkReply.ProtocolUnknownError,
+            self.trUtf8("Protocol '{0}' not supported.").format(protocol))
         QTimer.singleShot(0, self.__fireSignals)
     
     def __fireSignals(self):

eric ide

mercurial