Corrected some code style issues. eric7

Wed, 09 Nov 2022 11:32:13 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 09 Nov 2022 11:32:13 +0100
branch
eric7
changeset 9499
dd389c57c2f0
parent 9498
d48061567354
child 9500
5771348ded12

Corrected some code style issues.

src/eric7/Network/IRC/IrcNetworkEditDialog.py file | annotate | diff | comparison | revisions
src/eric7/WebBrowser/Bookmarks/BookmarksImporters/__init__.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Network/IRC/IrcNetworkEditDialog.py	Wed Nov 09 11:22:02 2022 +0100
+++ b/src/eric7/Network/IRC/IrcNetworkEditDialog.py	Wed Nov 09 11:32:13 2022 +0100
@@ -15,8 +15,8 @@
 from eric7.EricGui import EricPixmapCache
 from eric7.EricWidgets import EricMessageBox
 
+from .IrcNetworkManager import IrcNetwork
 from .Ui_IrcNetworkEditDialog import Ui_IrcNetworkEditDialog
-from .IrcNetworkManager import IrcNetwork
 
 
 class IrcNetworkEditDialog(QDialog, Ui_IrcNetworkEditDialog):
--- a/src/eric7/WebBrowser/Bookmarks/BookmarksImporters/__init__.py	Wed Nov 09 11:22:02 2022 +0100
+++ b/src/eric7/WebBrowser/Bookmarks/BookmarksImporters/__init__.py	Wed Nov 09 11:32:13 2022 +0100
@@ -65,7 +65,6 @@
     @return tuple with an icon, readable name, name of the default bookmarks file,
         an info text, a prompt and the default directory of the bookmarks file
     @rtype tuple of (QPixmap, str, str, str, str, str)
-    @exception ValueError raised to indicate an unsupported importer
     """
     mod = getImporterModule(sourceId)
     return mod.getImporterInfo(sourceId)
@@ -81,7 +80,6 @@
     @type QObject
     @return bookmarks importer
     @rtype BookmarksImporter
-    @exception ValueError raised to indicate an unsupported importer
     """
     mod = getImporterModule(sourceId)
     return mod.createImporter(sourceId=sourceId, parent=parent)
@@ -89,7 +87,7 @@
 
 def getImporterModule(sourceId):
     """
-    Function 
+    Function to get a bookmark importer module for a given source.
 
     @param sourceId source id to get an importer module for
     @type str

eric ide

mercurial