Helpviewer/UserAgent/UserAgentManager.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d Helpviewer/UserAgent/UserAgentManager.py
--- a/Helpviewer/UserAgent/UserAgentManager.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Helpviewer/UserAgent/UserAgentManager.py	Fri Nov 01 15:48:48 2013 +0100
@@ -65,7 +65,8 @@
         agentFile = self.getFileName()
         writer = UserAgentWriter()
         if not writer.write(agentFile, self.__agents):
-            E5MessageBox.critical(None,
+            E5MessageBox.critical(
+                None,
                 self.trUtf8("Saving user agent data"),
                 self.trUtf8(
                     """<p>User agent data could not be saved to"""
@@ -85,7 +86,8 @@
             reader = UserAgentReader()
             self.__agents = reader.read(agentFile)
             if reader.error() != QXmlStreamReader.NoError:
-                E5MessageBox.warning(None,
+                E5MessageBox.warning(
+                    None,
                     self.trUtf8("Loading user agent data"),
                     self.trUtf8("""Error when loading user agent data on"""
                                 """ line {0}, column {1}:\n{2}""")\
@@ -110,7 +112,8 @@
                 lines = f.read()
                 f.close()
             except IOError as err:
-                E5MessageBox.critical(None,
+                E5MessageBox.critical(
+                    None,
                     self.trUtf8("Loading user agent data"),
                     self.trUtf8("""<p>User agent data could not be loaded """
                                 """from <b>{0}</b></p>"""

eric ide

mercurial