mfg_gen: Add changes to make Python2 and Python3 compatible
This commit is contained in:
parent
dd2bc7256d
commit
24fa2342e8
1 changed files with 1 additions and 2 deletions
|
@ -22,10 +22,9 @@ import csv
|
||||||
import argparse
|
import argparse
|
||||||
import shutil
|
import shutil
|
||||||
import distutils.dir_util
|
import distutils.dir_util
|
||||||
|
from itertools import zip_longest
|
||||||
sys.path.insert(0, os.getenv('IDF_PATH') + "/components/nvs_flash/nvs_partition_generator/")
|
sys.path.insert(0, os.getenv('IDF_PATH') + "/components/nvs_flash/nvs_partition_generator/")
|
||||||
import nvs_partition_gen
|
import nvs_partition_gen
|
||||||
if not sys.version_info[0] < 3:
|
|
||||||
from itertools import zip_longest
|
|
||||||
|
|
||||||
def verify_values_exist(input_values_file, keys_in_values_file):
|
def verify_values_exist(input_values_file, keys_in_values_file):
|
||||||
""" Verify all keys have corresponding values in values file
|
""" Verify all keys have corresponding values in values file
|
||||||
|
|
Loading…
Reference in a new issue