From 8b2c5af08d238cb15a7430b9cdb863aa39975c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Besson?= Date: Mon, 23 Jan 2023 17:01:38 +0000 Subject: [PATCH] Remove outdated Pyython version warning Running omero web -h currently displays a warning about unsupported Python 3.x versions which is obviously incorrect since version 5.6.0 --- omero/plugins/web.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/omero/plugins/web.py b/omero/plugins/web.py index ac1b7fa312..d3a0eb815a 100644 --- a/omero/plugins/web.py +++ b/omero/plugins/web.py @@ -29,16 +29,12 @@ from pkg_resources import resource_string from omero.install.windows_warning import windows_warning, WINDOWS_WARNING -from omero.install.python_warning import py27_only, PYTHON_WARNING HELP = "OMERO.web configuration/deployment tools" if platform.system() == "Windows": HELP += "\n\n%s" % WINDOWS_WARNING -if not py27_only(): - HELP += "\n\nERROR: %s" % PYTHON_WARNING - LONGHELP = """OMERO.web configuration/deployment tools Configuration: @@ -76,8 +72,6 @@ def config_required(func): def import_django_settings(func): @windows_warning def wrapper(self, *args, **kwargs): - # if not py27_only(): - # self.ctx.die(681, "ERROR: %s" % PYTHON_WARNING) try: import django # NOQA except Exception: