Helpviewer/Feeds/FeedsManager.py

branch
Py2 comp.
changeset 3058
0a02c433f52d
parent 3057
10516539f238
parent 3020
542e97d4ecb3
child 3060
5883ce99ee12
diff -r 10516539f238 -r 0a02c433f52d Helpviewer/Feeds/FeedsManager.py
--- a/Helpviewer/Feeds/FeedsManager.py	Fri Oct 18 23:00:41 2013 +0200
+++ b/Helpviewer/Feeds/FeedsManager.py	Fri Nov 01 15:48:48 2013 +0100
@@ -178,7 +178,8 @@
                 urlString, title = dlg.getData()
                 for feed in self.__feeds:
                     if feed[0] == urlString:
-                        E5MessageBox.critical(self,
+                        E5MessageBox.critical(
+                            self,
                             self.trUtf8("Duplicate Feed URL"),
                             self.trUtf8(
                                 """A feed with the URL {0} exists already."""
@@ -199,7 +200,8 @@
         """
         itm = self.feedsTree.selectedItems()[0]
         title = itm.text(0)
-        res = E5MessageBox.yesNo(self,
+        res = E5MessageBox.yesNo(
+            self,
             self.trUtf8("Delete Feed"),
             self.trUtf8(
                 """<p>Do you really want to delete the feed"""
@@ -428,6 +430,7 @@
         
         errorStr = itm.data(0, FeedsManager.ErrorDataRole)
         if errorStr:
-            E5MessageBox.critical(self,
+            E5MessageBox.critical(
+                self,
                 self.trUtf8("Error loading feed"),
                 "{0}".format(errorStr))

eric ide

mercurial