--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityUtils.py Wed Jul 27 15:01:13 2022 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityUtils.py Wed Jul 27 15:51:27 2022 +0200 @@ -14,7 +14,7 @@ import AstUtilities -class InvalidModulePath(Exception): +class InvalidModulePathError(Exception): """ Class defining an exception for invalid module paths. """ @@ -40,11 +40,11 @@ @type str @return qualified name of the module @rtype str - @exception InvalidModulePath raised to indicate an invalid module path + @exception InvalidModulePathError raised to indicate an invalid module path """ (head, tail) = os.path.split(path) if head == "" or tail == "": - raise InvalidModulePath( + raise InvalidModulePathError( 'Invalid python file path: "{0}"' " Missing path or file name".format(path) )