Helpviewer/Bookmarks/BookmarksImporters/IExplorerImporter.py

changeset 3002
6ffc581f00f1
parent 2954
bf0215fe12d1
child 3057
10516539f238
child 3160
209a07d7e401
--- a/Helpviewer/Bookmarks/BookmarksImporters/IExplorerImporter.py	Wed Oct 09 19:47:41 2013 +0200
+++ b/Helpviewer/Bookmarks/BookmarksImporters/IExplorerImporter.py	Thu Oct 10 18:35:45 2013 +0200
@@ -24,7 +24,8 @@
     @param id id of the browser ("chrome" or "chromium")
     @return tuple with an icon (QPixmap), readable name (string), name of
         the default bookmarks file (string), an info text (string),
-        a prompt (string) and the default directory of the bookmarks file (string)
+        a prompt (string) and the default directory of the bookmarks file
+        (string)
     @exception ValueError raised to indicate an invalid browser ID
     """
     if id == "ie":
@@ -37,10 +38,13 @@
             UI.PixmapCache.getPixmap("internet_explorer.png"),
             "Internet Explorer",
             "",
-            QCoreApplication.translate("IExplorerImporter",
-                """Internet Explorer stores its bookmarks in the <b>Favorites</b> """
-                """folder This folder is usually located in"""),
-            QCoreApplication.translate("IExplorerImporter",
+            QCoreApplication.translate(
+                "IExplorerImporter",
+                """Internet Explorer stores its bookmarks in the"""
+                """ <b>Favorites</b> folder This folder is usually"""
+                """ located in"""),
+            QCoreApplication.translate(
+                "IExplorerImporter",
                 """Please choose the folder to begin importing bookmarks."""),
             standardDir,
         )
@@ -128,9 +132,11 @@
                             break
                     if url:
                         if dir in folders:
-                            bookmark = BookmarkNode(BookmarkNode.Bookmark, folders[dir])
+                            bookmark = BookmarkNode(BookmarkNode.Bookmark,
+                                                    folders[dir])
                         else:
-                            bookmark = BookmarkNode(BookmarkNode.Bookmark, importRootNode)
+                            bookmark = BookmarkNode(BookmarkNode.Bookmark,
+                                                    importRootNode)
                         bookmark.url = url
                         bookmark.title = name.replace("&", "&&")
         

eric ide

mercurial