Skip to content

Commit

Permalink
Remove outdated Pyython version warning
Browse files Browse the repository at this point in the history
Running omero web -h currently displays a warning about unsupported
Python 3.x versions which is obviously incorrect since version 5.6.0
  • Loading branch information
sbesson committed Jan 23, 2023
1 parent efc042b commit 8b2c5af
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions omero/plugins/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 8b2c5af

Please sign in to comment.