--- a/eric6/WebBrowser/OpenSearch/OpenSearchEngine.py Wed Sep 25 18:48:22 2019 +0200 +++ b/eric6/WebBrowser/OpenSearch/OpenSearchEngine.py Wed Sep 25 18:52:40 2019 +0200 @@ -11,11 +11,14 @@ import re import json -from PyQt5.QtCore import pyqtSignal, pyqtSlot, QLocale, QUrl, QUrlQuery, \ - QByteArray, QBuffer, QIODevice, QObject +from PyQt5.QtCore import ( + pyqtSignal, pyqtSlot, QLocale, QUrl, QUrlQuery, QByteArray, QBuffer, + QIODevice, QObject +) from PyQt5.QtGui import QImage -from PyQt5.QtNetwork import QNetworkRequest, QNetworkAccessManager, \ - QNetworkReply +from PyQt5.QtNetwork import ( + QNetworkRequest, QNetworkAccessManager, QNetworkReply +) from UI.Info import Program @@ -419,13 +422,15 @@ if not isinstance(other, OpenSearchEngine): return NotImplemented - return self._name == other._name and \ - self._description == other._description and \ - self._imageUrl == other._imageUrl and \ - self._searchUrlTemplate == other._searchUrlTemplate and \ - self._suggestionsUrlTemplate == other._suggestionsUrlTemplate and \ - self._searchParameters == other._searchParameters and \ + return ( + self._name == other._name and + self._description == other._description and + self._imageUrl == other._imageUrl and + self._searchUrlTemplate == other._searchUrlTemplate and + self._suggestionsUrlTemplate == other._suggestionsUrlTemplate and + self._searchParameters == other._searchParameters and self._suggestionsParameters == other._suggestionsParameters + ) def __lt__(self, other): """