ajout de i_need_py27
This commit is contained in:
parent
40c021983a
commit
a31f641c7c
|
@ -0,0 +1,10 @@
|
|||
# -*- coding: utf-8 mode: python -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
|
||||
|
||||
"""L'importation de ce module permet de s'assurer que la version de python est
|
||||
2.7 ou supérieure (mais pas 3.x)
|
||||
"""
|
||||
|
||||
from ulib.base.pversion import ensure_version
|
||||
from ulib.base.control import die
|
||||
try: ensure_version("2.7")
|
||||
except: die()
|
Loading…
Reference in New Issue