src/eric7/UI/UserInterface.py

branch
eric7
changeset 9947
ba47e3f454d8
parent 9938
b8005dd4fc9b
child 9966
27f2437e6eea
--- a/src/eric7/UI/UserInterface.py	Wed Mar 29 14:15:55 2023 +0200
+++ b/src/eric7/UI/UserInterface.py	Wed Mar 29 15:32:06 2023 +0200
@@ -8288,7 +8288,11 @@
                     ).format(
                         self.pipInterface.getIndexUrlPypi(),
                         VersionOnly,
-                        ".".join(str(p) for p in max(newerVersionsTuple) if p > 0),
+                        ".".join(
+                            str(p)
+                            for p in max(newerVersionsTuple)
+                            if p not in (0, None)
+                        ),
                     ),
                 )
                 if yes and self.__shutdown():

eric ide

mercurial