Raise an exception under Python < 3.4 for WSGI mode.

refs #5443
This commit is contained in:
Akshay Joshi 2020-05-04 15:06:45 +05:30
parent 94bd1f1680
commit f1963401d6

View File

@ -9,6 +9,10 @@
import os
import sys
if sys.version_info < (3, 4):
raise Exception('This application must be run under Python 3.4 or later.')
import builtins
root = os.path.dirname(os.path.realpath(__file__))