diff -r 349308e84eeb -r 772103b14c18 eric6/PipInterface/PipPackageDetailsDialog.py --- a/eric6/PipInterface/PipPackageDetailsDialog.py Mon Apr 12 19:05:23 2021 +0200 +++ b/eric6/PipInterface/PipPackageDetailsDialog.py Mon Apr 12 19:21:40 2021 +0200 @@ -187,12 +187,10 @@ @return processed text @rtype str """ - if text == "UNKNOWN": + if text == "UNKNOWN" or text is None: text = "" elif text == "any": text = self.tr("any") - elif text is None: - text = "" if forUrl and ( not isinstance(text, str) or not text.startswith(("http://", "https://", "ftp://"))