diff -r 9986ec0e559a -r 10516539f238 Helpviewer/Bookmarks/BookmarksImporters/OperaImporter.py --- a/Helpviewer/Bookmarks/BookmarksImporters/OperaImporter.py Tue Oct 15 22:03:54 2013 +0200 +++ b/Helpviewer/Bookmarks/BookmarksImporters/OperaImporter.py Fri Oct 18 23:00:41 2013 +0200 @@ -23,9 +23,12 @@ """ Module function to get information for the given source id. + @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 == "opera": if Globals.isWindowsPlatform(): @@ -98,7 +101,8 @@ f.close() except IOError as err: self._error = True - self._errorString = self.trUtf8("File '{0}' cannot be read.\nReason: {1}")\ + self._errorString = self.trUtf8( + "File '{0}' cannot be read.\nReason: {1}")\ .format(self.__fileName, str(err)) return None