src/eric7/UI/UserInterface.py

branch
eric7-maintenance
changeset 9948
a6ec52ed5c99
parent 9940
a57c188857e9
child 10004
983477114d3c
diff -r 422719084cc7 -r a6ec52ed5c99 src/eric7/UI/UserInterface.py
--- a/src/eric7/UI/UserInterface.py	Wed Mar 29 11:32:06 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