Tue, 06 Dec 2022 10:29:10 +0100
Fixed an issue in PipPackagesWidget causing an exception in certain situations (see issue465).
src/eric7/PipInterface/PipPackagesWidget.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/PipInterface/PipPackagesWidget.py Tue Dec 06 10:00:55 2022 +0100 +++ b/src/eric7/PipInterface/PipPackagesWidget.py Tue Dec 06 10:29:10 2022 +0100 @@ -542,7 +542,7 @@ mode = self.ShowProcessGeneralMode for line in output.splitlines(): line = line.rstrip() - if line != "---": + if line and line != "---": if mode != self.ShowProcessGeneralMode: if line[0] == " ": QTreeWidgetItem(infoWidget, [" ", line.strip()])