Helpviewer/UserAgent/UserAgentWriter.py

changeset 2954
bf0215fe12d1
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
diff -r 703452a2876f -r bf0215fe12d1 Helpviewer/UserAgent/UserAgentWriter.py
--- a/Helpviewer/UserAgent/UserAgentWriter.py	Sat Sep 28 19:06:25 2013 +0200
+++ b/Helpviewer/UserAgent/UserAgentWriter.py	Sat Sep 28 20:07:36 2013 +0200
@@ -28,7 +28,9 @@
         
         @param fileNameOrDevice name of the file to write (string)
             or device to write to (QIODevice)
-        @param agents dictionary with user agent data (host as key, agent string as value)
+        @param agents dictionary with user agent data (host as key, agent
+            string as value)
+        @return flag indicating success (boolean)
         """
         if isinstance(fileNameOrDevice, QIODevice):
             f = fileNameOrDevice
@@ -44,7 +46,8 @@
         """
         Private method to write a user agent file.
         
-        @param agents dictionary with user agent data (host as key, agent string as value)
+        @param agents dictionary with user agent data (host as key, agent
+            string as value)
         @return flag indicating success (boolean)
         """
         self.writeStartDocument()

eric ide

mercurial