diff -r f00d825fbdb3 -r d595f6f9cbf8 eric6/PipInterface/PipPackageDetailsDialog.py --- a/eric6/PipInterface/PipPackageDetailsDialog.py Sat Sep 21 17:41:22 2019 +0200 +++ b/eric6/PipInterface/PipPackageDetailsDialog.py Sat Sep 21 18:30:02 2019 +0200 @@ -9,8 +9,9 @@ from PyQt5.QtCore import Qt, QLocale -from PyQt5.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem, \ - QLabel, QHeaderView +from PyQt5.QtWidgets import ( + QDialog, QDialogButtonBox, QTreeWidgetItem, QLabel, QHeaderView +) from .Ui_PipPackageDetailsDialog import Ui_PipPackageDetailsDialog @@ -176,8 +177,10 @@ elif text is None: text = "" if forUrl: - if not isinstance(text, str) or \ - not text.startswith(("http://", "https://", "ftp://")): + if ( + not isinstance(text, str) or + not text.startswith(("http://", "https://", "ftp://")) + ): # ignore if the schema is not one of the listed ones text = ""