Skip to content

Commit

Permalink
Merge pull request #436 from sbesson/py27_warning_removal
Browse files Browse the repository at this point in the history
Remove outdated Python version warning
  • Loading branch information
knabar authored Feb 9, 2023
2 parents 6fb0e85 + 8b2c5af commit 6e25b39
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 6e25b39

Please sign in to comment.