mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 13:14:46 +02:00
dockersetup: require python 3.4.3 or later
Prior to this version, HTTPSConnection was not properly secure (as reported by Bandit). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
parent
7bd189b8e2
commit
3c844beab2
|
@ -18,6 +18,12 @@
|
||||||
# It will build and run these containers and set up the database.
|
# It will build and run these containers and set up the database.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
min_version = (3, 4, 3)
|
||||||
|
if sys.version_info < min_version:
|
||||||
|
sys.stderr.write('Sorry, python version %d.%d.%d or later is required\n' % min_version)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import argparse
|
import argparse
|
||||||
import re
|
import re
|
||||||
|
|
Loading…
Reference in New Issue
Block a user